Quick fix for the kiosks in SoundCloud

This commit is contained in:
Mauricio Colli 2018-09-05 07:25:24 -03:00
parent 834382111b
commit 850670917f
No known key found for this signature in database
GPG Key ID: F200BFD6F29DDD85
1 changed files with 2 additions and 2 deletions

View File

@ -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 += "&region=soundcloud:regions:" + contentCountry; apiUrl += "&region=soundcloud:regions:" + contentCountry;
} }*/
nextPageUrl = SoundcloudParsingHelper.getStreamsFromApi(collector, apiUrl, true); nextPageUrl = SoundcloudParsingHelper.getStreamsFromApi(collector, apiUrl, true);
} }