kopia lustrzana https://github.com/TeamNewPipe/NewPipeExtractor
[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.pull/1024/head
rodzic
0e4e6a9bac
commit
2a24d407d5
|
@ -133,7 +133,7 @@ public class SoundcloudStreamExtractor extends StreamExtractor {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public long getLikeCount() {
|
public long getLikeCount() {
|
||||||
return track.getLong("favoritings_count", -1);
|
return track.getLong("likes_count", -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nonnull
|
@Nonnull
|
||||||
|
|
Ładowanie…
Reference in New Issue