3jackdaws / soundcloud-lib

Soundcloud API wrapper for tracks & playlists that doesn't require API credentials. Asyncio support.
MIT License
90 stars 23 forks source link

find_client_id is failing #6

Closed roryeckel closed 4 years ago

roryeckel commented 4 years ago
File "sclib\sync.py", line 48, in get_credentials

self.client_id = util.find_client_id(script_text)

File "sclib\util.py", line 23, in find_client_id

return re.findall(r'client_id:"([a-zA-Z0-9]+)"', script_text)[0]
IndexError: list index out of range

Obviously "script_text" isn't getting the proper response. I'll continue debugging if this project is alive.

roryeckel commented 4 years ago

Seems like the client_id is fetched by another API call now, rather than being embedded in the script