Quick fix for the kiosks in SoundCloud

pull/108/head
Mauricio Colli 2018-09-05 07:25:24 -03:00
rodzic 834382111b
commit 850670917f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F200BFD6F29DDD85
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -57,11 +57,11 @@ public class SoundcloudChartsExtractor extends KioskExtractor {
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();
if (supportedCountries.contains(contentCountry)) {
apiUrl += "&region=soundcloud:regions:" + contentCountry;
}
}*/
nextPageUrl = SoundcloudParsingHelper.getStreamsFromApi(collector, apiUrl, true);
}