Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing while downloading #452

Open
washieiko opened this issue Jul 5, 2023 · 2 comments
Open

Failing while downloading #452

washieiko opened this issue Jul 5, 2023 · 2 comments

Comments

@washieiko
Copy link

Can anyone help with this:

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\ibra\AppData\Local\Programs\Python\Python311\Scripts\scdl.exe_main
.py", line 7, in
sys.exit(main())
^^^^^^
File "C:\Users\ibra\AppData\Local\Programs\Python\Python311\Lib\site-packages\scdl\scdl.py", line 239, in main
download_url(client, **python_args)
File "C:\Users\ibra\AppData\Local\Programs\Python\Python311\Lib\site-packages\scdl\scdl.py", line 324, in download_url
download_track(client, like.track, exit_on_fail=kwargs.get("strict_playlist"), **kwargs)
File "C:\Users\ibra\AppData\Local\Programs\Python\Python311\Lib\site-packages\scdl\scdl.py", line 717, in download_track
filename, is_already_downloaded = download_hls(client, track, title, playlist_info, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ibra\AppData\Local\Programs\Python\Python311\Lib\site-packages\scdl\scdl.py", line 673, in download_hls
url = get_transcoding_m3u8(client, transcoding, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ibra\AppData\Local\Programs\Python\Python311\Lib\site-packages\scdl\scdl.py", line 636, in get_transcoding_m3u8
return r.json()["url"]
~~~~~~~~^^^^^^^
KeyError: 'url'

ty for your time and help!

@max-ishere
Copy link

Can you please provide the URL for the track for troubleshooting?

@max-ishere
Copy link

Also based on the line numbers it seems that you are not using the latest version so if and when this is fixed you would probably have to update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants