mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 13:35:16 +03:00
[soundcloud] fix
This commit is contained in:
parent
17c740ae54
commit
5a890eac53
@ -19,7 +19,7 @@ def get_sndcd_apikey():
|
||||
def get_resource_info(resource_url, client_id):
|
||||
cont = get_content(resource_url, decoded=True)
|
||||
|
||||
x = re.escape('forEach(function(e){n(e)})}catch(t){}})},')
|
||||
x = re.escape('forEach(function(e){n(e)})}catch(e){}})},')
|
||||
x = re.search(r'' + x + r'(.*)\);</script>', cont)
|
||||
|
||||
info = json.loads(x.group(1))[-1]['data'][0]
|
||||
|
Loading…
Reference in New Issue
Block a user