scdl-org / scdl

Soundcloud Music Downloader
GNU General Public License v2.0
3.3k stars 331 forks source link

Some kind of problem in dependents #445

Open gerdoe-jr opened 1 year ago

gerdoe-jr commented 1 year ago
PS F:\music\Sewerslvt> scdl -l https://soundcloud.com/slvtsewer -t --force-metadata
Soundcloud Downloader
Traceback (most recent call last):
  File "c:\users\gerdo\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\gerdo\appdata\local\programs\python\python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\gerdo\AppData\Local\Programs\Python\Python39\Scripts\scdl.exe\__main__.py", line 7, in <module>
    sys.exit(main())
  File "c:\users\gerdo\appdata\local\programs\python\python39\lib\site-packages\scdl\scdl.py", line 158, in main
    if not client.is_client_id_valid():
  File "c:\users\gerdo\appdata\local\programs\python\python39\lib\site-packages\soundcloud\soundcloud.py", line 125, in is_client_id_valid
    next(
  File "c:\users\gerdo\appdata\local\programs\python\python39\lib\site-packages\soundcloud\soundcloud.py", line 474, in __call__
    with requests.get(resource_url, params=params, headers=headers) as r:
AttributeError: __enter__

Seems soundcloud package fails while trying to fetch client-id, but auth-token and client-id are okey.