Skip to content

Commit 2a24d40

Browse files
committed
[SoundCloud] Fix extraction of tracks like count
SoundCloud is using likes_count to return the like count of a track, like it was the case before they switched to favoritings_count.
1 parent 0e4e6a9 commit 2a24d40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/extractors/SoundcloudStreamExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public long getViewCount() {
133133

134134
@Override
135135
public long getLikeCount() {
136-
return track.getLong("favoritings_count", -1);
136+
return track.getLong("likes_count", -1);
137137
}
138138

139139
@Nonnull

0 commit comments

Comments
 (0)