-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
[SBS (Australia)] SBS InfoExtractor broken on py3.7 #7410
Labels
bug
Bug that is not site-specific
Comments
Apparently, dict.get is unhashable in 3.7 😕 >>> {{}.get}
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unhashable type: 'dict' Wrapping it in a lambda works >>> {lambda x: {}.get(x)}
{<function <lambda> at 0x000001E7E5CE4318>} |
... Can confirm the issue is fixed on my side, too, with latest "nightly" yt-dlp -vUF "https://www.sbs.com.au/ondemand/watch/2208035907943" =>
<redacted>
[debug] yt-dlp version nightly@2023.06.26.105045 [91302ed34] (win_x86_exe)
[debug] Python 3.7.9 (CPython x86 32bit) - Windows-Vista-6.0.6003-SP2 (OpenSSL 1.1.1g 21 Apr 2020)
<redacted>
[debug] Loaded 1852 extractors
<redacted>
yt-dlp is up to date (nightly@2023.06.26.105045)
[debug] Using fake IP 1.158.186.224 (AU) as X-Forwarded-For
[SBS] Extracting URL: https://www.sbs.com.au/ondemand/watch/2208035907943
[SBS] 2208035907943: Downloading SMIL file
[SBS] 2208035907943: Downloading m3u8 information
[SBS] 2208035907943: Downloading JSON metadata
[SBS] 2208035907943: Downloading JSON metadata
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for 2208035907943:
ID EXT RESOLUTION FPS | FILESIZE TBR PROTO | VCODEC ACODEC
----------------------------------------------------------------------------
hls-439 mp4 398x224 25 | ~157.23MiB 439k m3u8 | avc1.4D401E mp4a.40.2
hls-870 mp4 640x360 25 | ~311.70MiB 871k m3u8 | avc1.4D401E mp4a.40.2
hls-1419 mp4 1024x576 25 | ~508.00MiB 1419k m3u8 | avc1.4D4029 mp4a.40.2
hls-1981 mp4 1280x720 25 | ~709.13MiB 1981k m3u8 | avc1.4D4029 mp4a.40.2 BTW, thanks for the very prompt response! 👍 🥇 |
aalsuwaidi
pushed a commit
to aalsuwaidi/yt-dlp
that referenced
this issue
Apr 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
SBS targets Australia, however the
sbsIE
can be used internationally 😜Provide a description that is worded well enough to be understood
While I was troubleshooting and commenting on an SBS related upstream issue 😉, I switched over to
yt-dlp
to check how it handles that same SBS URI; I was already on the latest nightly version available at this time; but, my system is 32-bit and thus I'm using (Windows) binaryyt-dlp_x86.exe
, built on py3.7; I was greeted with what appears to be a Python-relatedERROR
:Full verbose log will be posted below, inside the template's dedicated field...
To indeed verify the issue is specific to py3.7, I downloaded latest "nightly" file
yt-dlp
from here and then launched it on py3.8.16 (32-bit):Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: