-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[Youtube] unable to extract player URL #32500
Comments
I am seeing this more and more - Same video does not always cause this problem -- I had the same thing happen now. Likely if I run the script again later it may work. But this is interrupting the workflow. Thank you for checking it out. The video that just failed was https://www.youtube.com/watch?v=WdDiVpkqNDA . I ran it again and got the same error. |
Yes, I get this problem often. However when I get this problem and I terminate the download by CTRL C, remove the partial download and start again, the problem disappears. If I use the same youtube link and do not specify any option (without -f 22), I do not get any warning or error. I do not get any error if I use -f 18 option too. This is the output of executing the above command with “-vU” option. $ yt-dlp_linux -vU -f 22 https://www.youtube.com/watch?v=0w_ZHcvfm4U |
You are not using youtube-dl... 😉 But yt-dlp is supposed to have fixed this issue in the nightly build. 🙂 You can use yt-dlp_linux -vU -f 22 https://www.youtube.com/watch?v=0w_ZHcvfm4U
[debug] Command-line config: ['-vU', '-f', '22', 'https://www.youtube.com/watch?v=0w_ZHcvfm4U']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2023.08.12.235909 [339c339fe] (linux_exe)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.4.0-155-generic-x86_64-with-glibc2.31 (OpenSSL 3.1.2 1 Aug 2023, glibc 2.31)
[debug] exe versions: ffmpeg N-111711-gd295b6b693-Nico-20230808 (fdk,setts), ffprobe N-111711-gd295b6b693-Nico-20230808, phantomjs 2.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.07.22, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1860 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Available version: nightly@2023.08.12.235909, Current version: nightly@2023.08.12.235909
Current Build Hash: 2da48d4646431e8a8d2871f180e36dad6a83b0e548d8758023f516918b949aef
yt-dlp is up to date (nightly@2023.08.12.235909)
[youtube] Extracting URL: https://www.youtube.com/watch?v=0w_ZHcvfm4U
[youtube] 0w_ZHcvfm4U: Downloading webpage
[youtube] 0w_ZHcvfm4U: Downloading ios player API JSON
[youtube] 0w_ZHcvfm4U: Downloading android player API JSON
[youtube] 0w_ZHcvfm4U: Downloading m3u8 information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] 0w_ZHcvfm4U: Downloading 1 format(s): 22
[debug] Invoking http downloader on "https://rr3---sn-5hnednsz.googlevideo.com/videoplayback?expire=1691927652&ei=BHDYZP-7It_Cx_AP1tOVqAo&ip=94.213.6.2yt-dlp_linux -vU -f 22 https://www.youtube.com/watch?v=0w_ZHcvfm4U
[debug] Command-line config: ['-vU', '-f', '22', 'https://www.youtube.com/watch?v=0w_ZHcvfm4U']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2023.08.12.235909 [339c339fe] (linux_exe)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.4.0-155-generic-x86_64-with-glibc2.31 (OpenSSL 3.1.2 1 Aug 2023, glibc 2.31)
[debug] exe versions: ffmpeg N-111711-gd295b6b693-Nico-20230808 (fdk,setts), ffprobe N-111711-gd295b6b693-Nico-20230808, phantomjs 2.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.07.22, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1860 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Available version: nightly@2023.08.12.235909, Current version: nightly@2023.08.12.235909
Current Build Hash: 2da48d4646431e8a8d2871f180e36dad6a83b0e548d8758023f516918b949aef
yt-dlp is up to date (nightly@2023.08.12.235909)
[youtube] Extracting URL: https://www.youtube.com/watch?v=0w_ZHcvfm4U
[youtube] 0w_ZHcvfm4U: Downloading webpage
[youtube] 0w_ZHcvfm4U: Downloading ios player API JSON
[youtube] 0w_ZHcvfm4U: Downloading android player API JSON
[youtube] 0w_ZHcvfm4U: Downloading m3u8 information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] 0w_ZHcvfm4U: Downloading 1 format(s): 22
[debug] Invoking http downloader on "https://rr3---sn-5hnednsz.googlevideo.com/videoplayback?expire=1691927652&ei=BHDYZP-7It_Cx_AP1tOVqAo&ip=<Redacted>&id=o-AM99deF8HbAu2Xtl_jM_zPsEjLOYMUuQ8dvX6hnKYQ8d&itag=22&source=youtube&requiressl=yes&mh=C6&mm=31%2C26&mn=sn-5hnednsz%2Csn-4g5e6nz7&ms=au%2Conr&mv=m&mvi=3&pl=14&initcwndbps=2652500&spc=UWF9f8Hoy1j_u4dM7aCmBKGv1VCdAys&vprv=1&svpuc=1&mime=video%2Fmp4&cnr=14&ratebypass=yes&dur=2092.303&lmt=1691730524679558&mt=1691905757&fvip=1&fexp=24007246%2C51000023&beids=24350018&c=ANDROID&txp=3308224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRAIgVIbR3Tvc_fnkDd4uosFL7mLX2kBa25n2Id2BLYWssQMCICKmCOffoj2iRItJgBcnJvdVu_9-MlxHbd3q3w0Vw18W&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgPhkqStNnn2fuvt2phiPNw6iPOh3xpqKkSF9LV6dcvq8CIQCEWfGK2FErmYAzZ5gyC9i5QdNfZ8cCTKrmZvImAFG9Xw%3D%3D"
[download] Destination: Se multiplican los AVISTAMIENTOS DE NAVES NO HUMANAS en el mundo [0w_ZHcvfm4U].mp4
[download] 100% of 384.38MiB in 00:00:37 at 10.27MiB/s
36&id=o-AM99deF8HbAu2Xtl_jM_zPsEjLOYMUuQ8dvX6hnKYQ8d&itag=22&source=youtube&requiressl=yes&mh=C6&mm=31%2C26&mn=sn-5hnednsz%2Csn-4g5e6nz7&ms=au%2Conr&mv=m&mvi=3&pl=14&initcwndbps=2652500&spc=UWF9f8Hoy1j_u4dM7aCmBKGv1VCdAys&vprv=1&svpuc=1&mime=video%2Fmp4&cnr=14&ratebypass=yes&dur=2092.303&lmt=1691730524679558&mt=1691905757&fvip=1&fexp=24007246%2C51000023&beids=24350018&c=ANDROID&txp=3308224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRAIgVIbR3Tvc_fnkDd4uosFL7mLX2kBa25n2Id2BLYWssQMCICKmCOffoj2iRItJgBcnJvdVu_9-MlxHbd3q3w0Vw18W&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgPhkqStNnn2fuvt2phiPNw6iPOh3xpqKkSF9LV6dcvq8CIQCEWfGK2FErmYAzZ5gyC9i5QdNfZ8cCTKrmZvImAFG9Xw%3D%3D"
[download] Destination: Se multiplican los AVISTAMIENTOS DE NAVES NO HUMANAS en el mundo [0w_ZHcvfm4U].mp4
[download] 100% of 384.38MiB in 00:00:37 at 10.27MiB/s
Also, it is advised to update your ffmpeg (and ffprobe of course). |
The consent issue is #32499. |
I can confirm but not Both installed with |
Checklist
Verbose log
Description
This occurs randomly with all youtube video urls for me. Sometimes the download works, but sometimes the above error happens.
The text was updated successfully, but these errors were encountered: