on master help sign in
Merge pull request #2671 from searx/update-soundcloud
a48ec0bAlexandre Flament
searx/engines/soundcloud.py+1−1
@@ -55,7 +55,7 @@ def get_client_id():
55 app_js_urls = [script_tag.get('src') for script_tag in script_tags if script_tag is not None]
55 app_js_urls = [script_tag.get('src') for script_tag in script_tags if script_tag is not None]
56
56
57 # extracts valid app_js urls from soundcloud.com content
57 # extracts valid app_js urls from soundcloud.com content
58− for app_js_url in app_js_urls:
58+ for app_js_url in app_js_urls[::-1]:
59 # gets app_js and searches for the clientid
59 # gets app_js and searches for the clientid
60 response = http_get(app_js_url)
60 response = http_get(app_js_url)
61 if response.ok:
61 if response.ok: