Skip to content

Commit 306e31a

Browse files
committed
Fix likes count of SoundCloud
1 parent b939100 commit 306e31a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

129129
@Override
130130
public long getLikeCount() {
131-
return track.getNumber("likes_count", -1).longValue();
131+
return track.getNumber("favoritings_count", -1).longValue();
132132
}
133133

134134
@Override

0 commit comments

Comments
 (0)