diff --git a/src/you_get/extractors/soundcloud.py b/src/you_get/extractors/soundcloud.py index ecd3fc8d..08e9d561 100644 --- a/src/you_get/extractors/soundcloud.py +++ b/src/you_get/extractors/soundcloud.py @@ -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'(.*)\);', cont) info = json.loads(x.group(1))[-1]['data'][0]