Quick fix for the kiosks in SoundCloud
This commit is contained in:
parent
834382111b
commit
850670917f
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue