mirror of
https://github.com/TeamNewPipe/NewPipeExtractor
synced 2025-09-01 06:45:53 +00:00
Quick fix for the kiosks in SoundCloud
This commit is contained in:
@@ -57,11 +57,11 @@ public class SoundcloudChartsExtractor extends KioskExtractor {
|
|||||||
apiUrl += "&kind=trending";
|
apiUrl += "&kind=trending";
|
||||||
}
|
}
|
||||||
|
|
||||||
List<String> supportedCountries = Arrays.asList("AU", "CA", "FR", "DE", "IE", "NL", "NZ", "GB", "US");
|
/*List<String> supportedCountries = Arrays.asList("AU", "CA", "FR", "DE", "IE", "NL", "NZ", "GB", "US");
|
||||||
String contentCountry = getContentCountry();
|
String contentCountry = getContentCountry();
|
||||||
if (supportedCountries.contains(contentCountry)) {
|
if (supportedCountries.contains(contentCountry)) {
|
||||||
apiUrl += "®ion=soundcloud:regions:" + contentCountry;
|
apiUrl += "®ion=soundcloud:regions:" + contentCountry;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
nextPageUrl = SoundcloudParsingHelper.getStreamsFromApi(collector, apiUrl, true);
|
nextPageUrl = SoundcloudParsingHelper.getStreamsFromApi(collector, apiUrl, true);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user