[Youtube] HTTP Error 410: Gone. ERROR: Sign in to confirm your age #24487

Closed
opened 2026-02-21 12:02:59 -05:00 by deekerman · 11 comments
Owner

Originally created by @perfectpeach on GitHub (Sep 25, 2021).

Hiya

Error code:

WARNING: unable to download video info webpage: HTTP Error 410: Gone
ERROR: Sign in to confirm your age
This video may be inappropriate for some users.

URL in inquiry: https://www.youtube.com/watch?v=nSIPR2ZrfKQ

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2021.06.06
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'bestvideo+bestaudio/best', 'https://www.youtube.com/watch?v=nSIPR2ZrfKQ', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 2021-07-18-git-694545b6d5-full_build-www.gyan.dev, ffprobe 2021-07-18-git-694545b6d5-full_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] nSIPR2ZrfKQ: Downloading webpage
[youtube] nSIPR2ZrfKQ: Refetching age-gated info webpage
WARNING: unable to download video info webpage: HTTP Error 410: Gone
ERROR: Sign in to confirm your age
This video may be inappropriate for some users.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\extractor\common.py", line 534, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\extractor\youtube.py", line 1713, in _real_extract
youtube_dl.utils.ExtractorError: Sign in to confirm your age
This video may be inappropriate for some users.

Description

Please kindly fix this issue or provide a valid solution that does not require a verified google account?

Note: After the download with this script failed, I noticed it's possible to download this age-restricted youtube video using some online youtube-downloader websites without any access to a google account, while this script can't download it, I believe the issue is within this script itself. Please kindly fix this issue?

Tnx and best of luck

Originally created by @perfectpeach on GitHub (Sep 25, 2021). Hiya Error code: --- **WARNING: unable to download video info webpage: HTTP Error 410: Gone ERROR: Sign in to confirm your age This video may be inappropriate for some users.** --- URL in inquiry: https://www.youtube.com/watch?v=nSIPR2ZrfKQ ## Checklist - [x] I'm reporting a broken site support issue - [x] I've verified that I'm running youtube-dl version **2021.06.06** - [x] I've checked that all provided URLs are alive and playable in a browser - [x] I've checked that all URLs and arguments with special characters are properly quoted or escaped - [ ] I've searched the bugtracker for similar bug reports including closed ones - [x] I've read bugs section in FAQ ## Verbose log [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-f', 'bestvideo+bestaudio/best', 'https://www.youtube.com/watch?v=nSIPR2ZrfKQ', '-v'] [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252 [debug] youtube-dl version 2021.06.06 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041 [debug] exe versions: ffmpeg 2021-07-18-git-694545b6d5-full_build-www.gyan.dev, ffprobe 2021-07-18-git-694545b6d5-full_build-www.gyan.dev [debug] Proxy map: {} [youtube] nSIPR2ZrfKQ: Downloading webpage [youtube] nSIPR2ZrfKQ: Refetching age-gated info webpage WARNING: unable to download video info webpage: HTTP Error 410: Gone ERROR: Sign in to confirm your age This video may be inappropriate for some users. Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\YoutubeDL.py", line 815, in wrapper File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\extractor\common.py", line 534, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\extractor\youtube.py", line 1713, in _real_extract youtube_dl.utils.ExtractorError: **Sign in to confirm your age** **This video may be inappropriate for some users.** ## Description Please kindly fix this issue or provide a valid solution that does not require a verified google account? Note: After the download with this script failed, I noticed it's possible to download this age-restricted youtube video using some online youtube-downloader websites without any access to a google account, while this script can't download it, I believe the issue is within this script itself. Please kindly fix this issue? Tnx and best of luck
Author
Owner

@nicolaasjan commented on GitHub (Sep 25, 2021):

Known issue.
Worked around (for now at least) in the yt-dlp fork (no cookies needed):

yt-dlp -v https://www.youtube.com/watch?v=nSIPR2ZrfKQ
[debug] User config file: /home/nico/.config/yt-dlp/config
[debug] User config: ['--list-formats-as-table', '-o', '/dev/shm/test-dlp/%(title)s.%(ext)s', '-f', 'bestvideo[height<=1080][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', '--no-mtime', '--add-metadata', '--embed-thumbnail', '--force-ipv4', '--sponsorblock-remove', 'all', '--downloader', 'aria2c', '--downloader-args', 'aria2c:-x 10 -s 10 -j 10 -k 1M --log-level=info --file-allocation=none']
[debug] Command-line config: ['-v', 'https://www.youtube.com/watch?v=nSIPR2ZrfKQ']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] yt-dlp version 2021.09.24 (zip)
[debug] Python version 3.6.9 (CPython 64bit) - Linux-5.4.0-86-generic-x86_64-with-LinuxMint-19.3-tricia
[debug] exe versions: ffmpeg N-103540-g75001ae844-Nico-20210906, ffprobe N-103540-g75001ae844-Nico-20210906
[debug] Optional libraries: Crypto, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=nSIPR2ZrfKQ
[youtube] nSIPR2ZrfKQ: Downloading webpage
[youtube] nSIPR2ZrfKQ: Downloading android player API JSON
[youtube] nSIPR2ZrfKQ: Downloading android agegate player API JSON
[youtube] nSIPR2ZrfKQ: Downloading web agegate player API JSON
[debug] Sort order given by extractor: quality, res, fps, source, codec:vp9.2, lang
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, source, vcodec:vp9.2(10), acodec, lang, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, id
[debug] SponsorBlock query: https://sponsor.ajay.app/api/skipSegments/b6b6?service=YouTube&categories=%5B%22outro%22%2C+%22music_offtopic%22%2C+%22selfpromo%22%2C+%22preview%22%2C+%22intro%22%2C+%22interaction%22%2C+%22sponsor%22%5D
[SponsorBlock] No segments were found in the SponsorBlock database
[info] nSIPR2ZrfKQ: Downloading 1 format(s): 137+140
[debug] Testing thumbnail 39
[debug] Testing thumbnail 38
[debug] Testing thumbnail 36
[debug] Testing thumbnail 35
[debug] Testing thumbnail 34
[debug] Testing thumbnail 33
[debug] Testing thumbnail 32
[debug] Testing thumbnail 31
[debug] Testing thumbnail 30
[youtube] nSIPR2ZrfKQ: Downloading thumbnail  ...
[youtube] nSIPR2ZrfKQ: Writing thumbnail to: /dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.webp
[debug] Invoking downloader on "https://r2---sn-5hneknee.googlevideo.com/videoplayback?expire=1632610881&ei=4VVPYbHKFILHWJv9r7gF&ip=<REDACTED>&id=o-AJlj8BkurkXC3G17Ayr_fYeTsOA4OueLmWwhvLGUN6q-&itag=137&source=youtube&requiressl=yes&mh=nv&mm=31%2C26&mn=sn-5hneknee%2Csn-4g5ednss&ms=au%2Conr&mv=m&mvi=2&pl=17&pcm2=yes&initcwndbps=2108750&vprv=1&mime=video%2Fmp4&gir=yes&clen=73334992&dur=175.666&lmt=1573791201383970&mt=1632588792&fvip=2&keepalive=yes&fexp=24001373%2C24007246&beids=9466588&c=ANDROID&txp=2316222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cpcm2%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgB5QozUYXLYaIQ6YmmfDSi7pOPvSLbddRyeRRGH9R7lsCIQCGfWvQWDdC3LpFGyvUbKmcKYsc4gYPnUrQALv9xwu6qA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgasyDIJikcBoLdT-4tN8Jz7ZFzwL6916wSuIZxsNmuzUCIEeJP4KQgukrexaJ72ELJG2YnQXMtZdbIvknncouLiea"
[download] Destination: /dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.f137.mp4
[debug] aria2c command line: aria2c -c --console-log-level=warn --summary-interval=0 --download-result=hide --file-allocation=none -x16 -j16 -s16 --min-split-size 1M --header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.80 Safari/537.36' --header 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' --header 'Accept-Encoding: gzip, deflate' --header 'Accept-Language: en-us,en;q=0.5' --interface 0.0.0.0 --check-certificate=true --remote-time=false -x 10 -s 10 -j 10 -k 1M --log-level=info --file-allocation=none --dir /dev/shm/test-dlp/ --out './Cosplay and Cars - Underground Tokyo 痛こす08.f137.mp4.part' --auto-file-renaming=false -- 'https://r2---sn-5hneknee.googlevideo.com/videoplayback?expire=1632610881&ei=4VVPYbHKFILHWJv9r7gF&ip=<REDACTED>&id=o-AJlj8BkurkXC3G17Ayr_fYeTsOA4OueLmWwhvLGUN6q-&itag=137&source=youtube&requiressl=yes&mh=nv&mm=31%2C26&mn=sn-5hneknee%2Csn-4g5ednss&ms=au%2Conr&mv=m&mvi=2&pl=17&pcm2=yes&initcwndbps=2108750&vprv=1&mime=video%2Fmp4&gir=yes&clen=73334992&dur=175.666&lmt=1573791201383970&mt=1632588792&fvip=2&keepalive=yes&fexp=24001373%2C24007246&beids=9466588&c=ANDROID&txp=2316222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cpcm2%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgB5QozUYXLYaIQ6YmmfDSi7pOPvSLbddRyeRRGH9R7lsCIQCGfWvQWDdC3LpFGyvUbKmcKYsc4gYPnUrQALv9xwu6qA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgasyDIJikcBoLdT-4tN8Jz7ZFzwL6916wSuIZxsNmuzUCIEeJP4KQgukrexaJ72ELJG2YnQXMtZdbIvknncouLiea'
[aria2c] Downloaded 73334992 bytes:8.6MiB]                                     
[download] 100% of 69.94MiB in 00:08
[debug] Invoking downloader on "https://r2---sn-5hneknee.googlevideo.com/videoplayback?expire=1632610881&ei=4VVPYbHKFILHWJv9r7gF&ip=<REDACTED>&id=o-AJlj8BkurkXC3G17Ayr_fYeTsOA4OueLmWwhvLGUN6q-&itag=140&source=youtube&requiressl=yes&mh=nv&mm=31%2C26&mn=sn-5hneknee%2Csn-4g5ednss&ms=au%2Conr&mv=m&mvi=2&pl=17&pcm2=yes&initcwndbps=2108750&vprv=1&mime=audio%2Fmp4&gir=yes&clen=2844681&dur=175.728&lmt=1573791184451219&mt=1632588792&fvip=2&keepalive=yes&fexp=24001373%2C24007246&beids=9466588&c=ANDROID&txp=2311222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cpcm2%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgd2njYMFZP-NpRQvfzBee7up3Ca6wyp4VwMk9BJjBiWACIGlET5J27quqGLyoqj9coyKtJHMYXSE3y9aLSjaZe5-q&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgasyDIJikcBoLdT-4tN8Jz7ZFzwL6916wSuIZxsNmuzUCIEeJP4KQgukrexaJ72ELJG2YnQXMtZdbIvknncouLiea"
[download] Destination: /dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.f140.m4a
[debug] aria2c command line: aria2c -c --console-log-level=warn --summary-interval=0 --download-result=hide --file-allocation=none -x16 -j16 -s16 --min-split-size 1M --header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.80 Safari/537.36' --header 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' --header 'Accept-Encoding: gzip, deflate' --header 'Accept-Language: en-us,en;q=0.5' --interface 0.0.0.0 --check-certificate=true --remote-time=false -x 10 -s 10 -j 10 -k 1M --log-level=info --file-allocation=none --dir /dev/shm/test-dlp/ --out './Cosplay and Cars - Underground Tokyo 痛こす08.f140.m4a.part' --auto-file-renaming=false -- 'https://r2---sn-5hneknee.googlevideo.com/videoplayback?expire=1632610881&ei=4VVPYbHKFILHWJv9r7gF&ip=<REDACTED>&id=o-AJlj8BkurkXC3G17Ayr_fYeTsOA4OueLmWwhvLGUN6q-&itag=140&source=youtube&requiressl=yes&mh=nv&mm=31%2C26&mn=sn-5hneknee%2Csn-4g5ednss&ms=au%2Conr&mv=m&mvi=2&pl=17&pcm2=yes&initcwndbps=2108750&vprv=1&mime=audio%2Fmp4&gir=yes&clen=2844681&dur=175.728&lmt=1573791184451219&mt=1632588792&fvip=2&keepalive=yes&fexp=24001373%2C24007246&beids=9466588&c=ANDROID&txp=2311222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cpcm2%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgd2njYMFZP-NpRQvfzBee7up3Ca6wyp4VwMk9BJjBiWACIGlET5J27quqGLyoqj9coyKtJHMYXSE3y9aLSjaZe5-q&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgasyDIJikcBoLdT-4tN8Jz7ZFzwL6916wSuIZxsNmuzUCIEeJP4KQgukrexaJ72ELJG2YnQXMtZdbIvknncouLiea'
[aria2c] Downloaded 2844681 bytesDL:269KiB ETA:1s]                             
[download] 100% of 2.71MiB in 00:09
[debug] ffmpeg command line: ffprobe -show_streams 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.f140.m4a'
[Merger] Merging formats into "/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.f137.mp4' -i 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 -bsf:a:0 aac_adtstoasc 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.temp.mp4'
Deleting original file /dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.f140.m4a (pass -k to keep)
Deleting original file /dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.f137.mp4 (pass -k to keep)
[ModifyChapters] SponsorBlock information is unavailable
[Metadata] Adding metadata to "/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.mp4' -map 0 -dn -c copy -metadata 'title=Cosplay and Cars: Underground Tokyo 痛こす08' -metadata date=20191114 -metadata 'description=Itacos is an underground Akihabara shooting event featuring Itasha (otaku themed cars) and cosplay models. 

Event info: https://aroundakiba.tv/news/cosplay-and-cars-underground-akihabara-event/

Cinematography
https://twitter.com/rtplostlink

Support
https://twitter.com/TristanJunker

Event producer
https://twitter.com/xxcross001

If you'"'"'d like to support our projects: https://www.patreon.com/rescuetheprincess

Music
Stranger Things (2 Below Remix)

Click CC to view model credits.' -metadata 'synopsis=Itacos is an underground Akihabara shooting event featuring Itasha (otaku themed cars) and cosplay models. 

Event info: https://aroundakiba.tv/news/cosplay-and-cars-underground-akihabara-event/

Cinematography
https://twitter.com/rtplostlink

Support
https://twitter.com/TristanJunker

Event producer
https://twitter.com/xxcross001

If you'"'"'d like to support our projects: https://www.patreon.com/rescuetheprincess

Music
Stranger Things (2 Below Remix)

Click CC to view model credits.' -metadata 'purl=https://www.youtube.com/watch?v=nSIPR2ZrfKQ' -metadata 'comment=https://www.youtube.com/watch?v=nSIPR2ZrfKQ' -metadata 'artist=Rescue the Princess!' 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.temp.mp4'
[ThumbnailsConvertor] Converting thumbnail "/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.webp" to png
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -f image2 -pattern_type none -i 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.webp' 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.png'
[EmbedThumbnail] mutagen: Adding thumbnail to "/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.mp4"
Deleting original file /dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.png (pass -k to keep)
Deleting original file /dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.webp (pass -k to keep)


@nicolaasjan commented on GitHub (Sep 25, 2021): Known issue. Worked around (for now at least) in the [yt-dlp](https://github.com/yt-dlp/yt-dlp) fork (no cookies needed): ``` yt-dlp -v https://www.youtube.com/watch?v=nSIPR2ZrfKQ [debug] User config file: /home/nico/.config/yt-dlp/config [debug] User config: ['--list-formats-as-table', '-o', '/dev/shm/test-dlp/%(title)s.%(ext)s', '-f', 'bestvideo[height<=1080][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', '--no-mtime', '--add-metadata', '--embed-thumbnail', '--force-ipv4', '--sponsorblock-remove', 'all', '--downloader', 'aria2c', '--downloader-args', 'aria2c:-x 10 -s 10 -j 10 -k 1M --log-level=info --file-allocation=none'] [debug] Command-line config: ['-v', 'https://www.youtube.com/watch?v=nSIPR2ZrfKQ'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] yt-dlp version 2021.09.24 (zip) [debug] Python version 3.6.9 (CPython 64bit) - Linux-5.4.0-86-generic-x86_64-with-LinuxMint-19.3-tricia [debug] exe versions: ffmpeg N-103540-g75001ae844-Nico-20210906, ffprobe N-103540-g75001ae844-Nico-20210906 [debug] Optional libraries: Crypto, mutagen, sqlite, websockets [debug] Proxy map: {} [debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=nSIPR2ZrfKQ [youtube] nSIPR2ZrfKQ: Downloading webpage [youtube] nSIPR2ZrfKQ: Downloading android player API JSON [youtube] nSIPR2ZrfKQ: Downloading android agegate player API JSON [youtube] nSIPR2ZrfKQ: Downloading web agegate player API JSON [debug] Sort order given by extractor: quality, res, fps, source, codec:vp9.2, lang [debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, source, vcodec:vp9.2(10), acodec, lang, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, id [debug] SponsorBlock query: https://sponsor.ajay.app/api/skipSegments/b6b6?service=YouTube&categories=%5B%22outro%22%2C+%22music_offtopic%22%2C+%22selfpromo%22%2C+%22preview%22%2C+%22intro%22%2C+%22interaction%22%2C+%22sponsor%22%5D [SponsorBlock] No segments were found in the SponsorBlock database [info] nSIPR2ZrfKQ: Downloading 1 format(s): 137+140 [debug] Testing thumbnail 39 [debug] Testing thumbnail 38 [debug] Testing thumbnail 36 [debug] Testing thumbnail 35 [debug] Testing thumbnail 34 [debug] Testing thumbnail 33 [debug] Testing thumbnail 32 [debug] Testing thumbnail 31 [debug] Testing thumbnail 30 [youtube] nSIPR2ZrfKQ: Downloading thumbnail ... [youtube] nSIPR2ZrfKQ: Writing thumbnail to: /dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.webp [debug] Invoking downloader on "https://r2---sn-5hneknee.googlevideo.com/videoplayback?expire=1632610881&ei=4VVPYbHKFILHWJv9r7gF&ip=<REDACTED>&id=o-AJlj8BkurkXC3G17Ayr_fYeTsOA4OueLmWwhvLGUN6q-&itag=137&source=youtube&requiressl=yes&mh=nv&mm=31%2C26&mn=sn-5hneknee%2Csn-4g5ednss&ms=au%2Conr&mv=m&mvi=2&pl=17&pcm2=yes&initcwndbps=2108750&vprv=1&mime=video%2Fmp4&gir=yes&clen=73334992&dur=175.666&lmt=1573791201383970&mt=1632588792&fvip=2&keepalive=yes&fexp=24001373%2C24007246&beids=9466588&c=ANDROID&txp=2316222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cpcm2%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgB5QozUYXLYaIQ6YmmfDSi7pOPvSLbddRyeRRGH9R7lsCIQCGfWvQWDdC3LpFGyvUbKmcKYsc4gYPnUrQALv9xwu6qA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgasyDIJikcBoLdT-4tN8Jz7ZFzwL6916wSuIZxsNmuzUCIEeJP4KQgukrexaJ72ELJG2YnQXMtZdbIvknncouLiea" [download] Destination: /dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.f137.mp4 [debug] aria2c command line: aria2c -c --console-log-level=warn --summary-interval=0 --download-result=hide --file-allocation=none -x16 -j16 -s16 --min-split-size 1M --header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.80 Safari/537.36' --header 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' --header 'Accept-Encoding: gzip, deflate' --header 'Accept-Language: en-us,en;q=0.5' --interface 0.0.0.0 --check-certificate=true --remote-time=false -x 10 -s 10 -j 10 -k 1M --log-level=info --file-allocation=none --dir /dev/shm/test-dlp/ --out './Cosplay and Cars - Underground Tokyo 痛こす08.f137.mp4.part' --auto-file-renaming=false -- 'https://r2---sn-5hneknee.googlevideo.com/videoplayback?expire=1632610881&ei=4VVPYbHKFILHWJv9r7gF&ip=<REDACTED>&id=o-AJlj8BkurkXC3G17Ayr_fYeTsOA4OueLmWwhvLGUN6q-&itag=137&source=youtube&requiressl=yes&mh=nv&mm=31%2C26&mn=sn-5hneknee%2Csn-4g5ednss&ms=au%2Conr&mv=m&mvi=2&pl=17&pcm2=yes&initcwndbps=2108750&vprv=1&mime=video%2Fmp4&gir=yes&clen=73334992&dur=175.666&lmt=1573791201383970&mt=1632588792&fvip=2&keepalive=yes&fexp=24001373%2C24007246&beids=9466588&c=ANDROID&txp=2316222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cpcm2%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgB5QozUYXLYaIQ6YmmfDSi7pOPvSLbddRyeRRGH9R7lsCIQCGfWvQWDdC3LpFGyvUbKmcKYsc4gYPnUrQALv9xwu6qA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgasyDIJikcBoLdT-4tN8Jz7ZFzwL6916wSuIZxsNmuzUCIEeJP4KQgukrexaJ72ELJG2YnQXMtZdbIvknncouLiea' [aria2c] Downloaded 73334992 bytes:8.6MiB] [download] 100% of 69.94MiB in 00:08 [debug] Invoking downloader on "https://r2---sn-5hneknee.googlevideo.com/videoplayback?expire=1632610881&ei=4VVPYbHKFILHWJv9r7gF&ip=<REDACTED>&id=o-AJlj8BkurkXC3G17Ayr_fYeTsOA4OueLmWwhvLGUN6q-&itag=140&source=youtube&requiressl=yes&mh=nv&mm=31%2C26&mn=sn-5hneknee%2Csn-4g5ednss&ms=au%2Conr&mv=m&mvi=2&pl=17&pcm2=yes&initcwndbps=2108750&vprv=1&mime=audio%2Fmp4&gir=yes&clen=2844681&dur=175.728&lmt=1573791184451219&mt=1632588792&fvip=2&keepalive=yes&fexp=24001373%2C24007246&beids=9466588&c=ANDROID&txp=2311222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cpcm2%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgd2njYMFZP-NpRQvfzBee7up3Ca6wyp4VwMk9BJjBiWACIGlET5J27quqGLyoqj9coyKtJHMYXSE3y9aLSjaZe5-q&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgasyDIJikcBoLdT-4tN8Jz7ZFzwL6916wSuIZxsNmuzUCIEeJP4KQgukrexaJ72ELJG2YnQXMtZdbIvknncouLiea" [download] Destination: /dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.f140.m4a [debug] aria2c command line: aria2c -c --console-log-level=warn --summary-interval=0 --download-result=hide --file-allocation=none -x16 -j16 -s16 --min-split-size 1M --header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.80 Safari/537.36' --header 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' --header 'Accept-Encoding: gzip, deflate' --header 'Accept-Language: en-us,en;q=0.5' --interface 0.0.0.0 --check-certificate=true --remote-time=false -x 10 -s 10 -j 10 -k 1M --log-level=info --file-allocation=none --dir /dev/shm/test-dlp/ --out './Cosplay and Cars - Underground Tokyo 痛こす08.f140.m4a.part' --auto-file-renaming=false -- 'https://r2---sn-5hneknee.googlevideo.com/videoplayback?expire=1632610881&ei=4VVPYbHKFILHWJv9r7gF&ip=<REDACTED>&id=o-AJlj8BkurkXC3G17Ayr_fYeTsOA4OueLmWwhvLGUN6q-&itag=140&source=youtube&requiressl=yes&mh=nv&mm=31%2C26&mn=sn-5hneknee%2Csn-4g5ednss&ms=au%2Conr&mv=m&mvi=2&pl=17&pcm2=yes&initcwndbps=2108750&vprv=1&mime=audio%2Fmp4&gir=yes&clen=2844681&dur=175.728&lmt=1573791184451219&mt=1632588792&fvip=2&keepalive=yes&fexp=24001373%2C24007246&beids=9466588&c=ANDROID&txp=2311222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cpcm2%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgd2njYMFZP-NpRQvfzBee7up3Ca6wyp4VwMk9BJjBiWACIGlET5J27quqGLyoqj9coyKtJHMYXSE3y9aLSjaZe5-q&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgasyDIJikcBoLdT-4tN8Jz7ZFzwL6916wSuIZxsNmuzUCIEeJP4KQgukrexaJ72ELJG2YnQXMtZdbIvknncouLiea' [aria2c] Downloaded 2844681 bytesDL:269KiB ETA:1s] [download] 100% of 2.71MiB in 00:09 [debug] ffmpeg command line: ffprobe -show_streams 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.f140.m4a' [Merger] Merging formats into "/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.mp4" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.f137.mp4' -i 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 -bsf:a:0 aac_adtstoasc 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.temp.mp4' Deleting original file /dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.f140.m4a (pass -k to keep) Deleting original file /dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.f137.mp4 (pass -k to keep) [ModifyChapters] SponsorBlock information is unavailable [Metadata] Adding metadata to "/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.mp4" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.mp4' -map 0 -dn -c copy -metadata 'title=Cosplay and Cars: Underground Tokyo 痛こす08' -metadata date=20191114 -metadata 'description=Itacos is an underground Akihabara shooting event featuring Itasha (otaku themed cars) and cosplay models. Event info: https://aroundakiba.tv/news/cosplay-and-cars-underground-akihabara-event/ Cinematography https://twitter.com/rtplostlink Support https://twitter.com/TristanJunker Event producer https://twitter.com/xxcross001 If you'"'"'d like to support our projects: https://www.patreon.com/rescuetheprincess Music Stranger Things (2 Below Remix) Click CC to view model credits.' -metadata 'synopsis=Itacos is an underground Akihabara shooting event featuring Itasha (otaku themed cars) and cosplay models. Event info: https://aroundakiba.tv/news/cosplay-and-cars-underground-akihabara-event/ Cinematography https://twitter.com/rtplostlink Support https://twitter.com/TristanJunker Event producer https://twitter.com/xxcross001 If you'"'"'d like to support our projects: https://www.patreon.com/rescuetheprincess Music Stranger Things (2 Below Remix) Click CC to view model credits.' -metadata 'purl=https://www.youtube.com/watch?v=nSIPR2ZrfKQ' -metadata 'comment=https://www.youtube.com/watch?v=nSIPR2ZrfKQ' -metadata 'artist=Rescue the Princess!' 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.temp.mp4' [ThumbnailsConvertor] Converting thumbnail "/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.webp" to png [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -f image2 -pattern_type none -i 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.webp' 'file:/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.png' [EmbedThumbnail] mutagen: Adding thumbnail to "/dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.mp4" Deleting original file /dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.png (pass -k to keep) Deleting original file /dev/shm/test-dlp/Cosplay and Cars - Underground Tokyo 痛こす08.webp (pass -k to keep) ```
Author
Owner

@Bekon241 commented on GitHub (Oct 4, 2021):

I use Tampermonkey script to bypass age verification on YT i have 40 years now but i dont give google any my ID or credit card information. If he give me safe option to verificate myself is ok i can, but now i dont wont. My account on google mail have 15 years then i send my 1st email when i have 3 year old... GJ stupid google and all EU... But still YT-DL not work with that bypass.

@Bekon241 commented on GitHub (Oct 4, 2021): I use Tampermonkey script to bypass age verification on YT i have 40 years now but i dont give google any my ID or credit card information. If he give me safe option to verificate myself is ok i can, but now i dont wont. My account on google mail have 15 years then i send my 1st email when i have 3 year old... GJ stupid google and all EU... But still YT-DL not work with that bypass.
Author
Owner

@baptx commented on GitHub (Oct 7, 2021):

@89z @nicolaasjan can someone share the patch so we can apply it to the official youtube-dl without using a fork or another tool?
This workaround does not seem to work anymore: https://github.com/ytdl-org/youtube-dl/issues/29333#issuecomment-864049544

@baptx commented on GitHub (Oct 7, 2021): @89z @nicolaasjan can someone share the patch so we can apply it to the official youtube-dl without using a fork or another tool? This workaround does not seem to work anymore: https://github.com/ytdl-org/youtube-dl/issues/29333#issuecomment-864049544
Author
Owner

@baptx commented on GitHub (Oct 7, 2021):

@89z I did not really understand what your tool does exactly by "Anonymous API access", it just does the following HTTP request that you originally mentioned, by using an API key of someone else? Which means the API key could expire after some time?

POST /youtubei/v1/player HTTP/1.1
Host: www.youtube.com
X-Goog-Api-Key: AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8

{"context":{"client":{"clientName":"ANDROID","clientScreen":"EMBED",
"clientVersion":"16.05"},"thirdParty":{"embedUrl":"https://www.youtube.com"}},
"videoId":"nSIPR2ZrfKQ"}

I would prefer using my own API key, to not rely on the key of someone else and I don't know if it could affect my security or privacy, for example by keeping a history of watched videos or giving access to my logged in YouTube account using the API key :D

But the yt-dlp fork mentioned by @nicolaasjan is using Python so I could take the patch from here if someone can tell me where it is exactly. For the moment, I was able to use youtube-dl by using the --cookies option like mentioned here: https://github.com/ytdl-org/youtube-dl/issues/29811#issuecomment-900939289

Update: the API key can be found in the source code of youtube.com ("INNERTUBE_API_KEY":"AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8"), like mentioned in the link https://github.com/89z/mech/tree/master/youtube#how-to-get-x-goog-api-key shared by 89z (I don't know why his 2 replies were deleted). It looks like the API key is the same for everybody.
We can test the HTTP request in a web browser console (F12 shortcut) on youtube.com like this:

fetch("https://www.youtube.com/youtubei/v1/player", {
    "headers": {
        "X-Goog-Api-Key": "AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8"
    },
    "body": `{"context":{"client":{"clientName":"ANDROID","clientScreen":"EMBED",
"clientVersion":"16.05"},"thirdParty":{"embedUrl":"https://www.youtube.com"}},
"videoId":"nSIPR2ZrfKQ"}`,
    "method": "POST"
});

The HTTP response with media links will be displayed in the network tab of the developer tools. The 144p, 360p and 720p formats are available with video and audio combined so we don't need any tool for these and can watch or download them directly from the web browser. For other formats like 1080p, we need to download video and audio separately, then merge them with ffmpeg / avconv: ffmpeg -i videoplayback.mp4 -i videoplayback.m4a -c copy videoplayback_with_audio.mp4.

@baptx commented on GitHub (Oct 7, 2021): @89z I did not really understand what your tool does exactly by "Anonymous API access", it just does the following HTTP request that you originally mentioned, by using an API key of someone else? Which means the API key could expire after some time? ``` POST /youtubei/v1/player HTTP/1.1 Host: www.youtube.com X-Goog-Api-Key: AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8 {"context":{"client":{"clientName":"ANDROID","clientScreen":"EMBED", "clientVersion":"16.05"},"thirdParty":{"embedUrl":"https://www.youtube.com"}}, "videoId":"nSIPR2ZrfKQ"} ``` I would prefer using my own API key, to not rely on the key of someone else and I don't know if it could affect my security or privacy, for example by keeping a history of watched videos or giving access to my logged in YouTube account using the API key :D But the yt-dlp fork mentioned by @nicolaasjan is using Python so I could take the patch from here if someone can tell me where it is exactly. For the moment, I was able to use youtube-dl by using the `--cookies` option like mentioned here: https://github.com/ytdl-org/youtube-dl/issues/29811#issuecomment-900939289 Update: the API key can be found in the source code of youtube.com (`"INNERTUBE_API_KEY":"AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8"`), like mentioned in the link https://github.com/89z/mech/tree/master/youtube#how-to-get-x-goog-api-key shared by 89z (I don't know why his 2 replies were deleted). It looks like the API key is the same for everybody. We can test the HTTP request in a web browser console (F12 shortcut) on youtube.com like this: ``` fetch("https://www.youtube.com/youtubei/v1/player", { "headers": { "X-Goog-Api-Key": "AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8" }, "body": `{"context":{"client":{"clientName":"ANDROID","clientScreen":"EMBED", "clientVersion":"16.05"},"thirdParty":{"embedUrl":"https://www.youtube.com"}}, "videoId":"nSIPR2ZrfKQ"}`, "method": "POST" }); ``` The HTTP response with media links will be displayed in the network tab of the developer tools. The 144p, 360p and 720p formats are available with video and audio combined so we don't need any tool for these and can watch or download them directly from the web browser. For other formats like 1080p, we need to download video and audio separately, then merge them with ffmpeg / avconv: `ffmpeg -i videoplayback.mp4 -i videoplayback.m4a -c copy videoplayback_with_audio.mp4`.
Author
Owner

@nicolaasjan commented on GitHub (Oct 7, 2021):

But the yt-dlp fork mentioned by @nicolaasjan is using Python so I could take the patch from here if someone can tell me where it is exactly

I don't know where this patch is and if it can be applied easily in youtube-dl.
But maybe the maintainer of yt-dlp - @pukkandan - can tell you.

@nicolaasjan commented on GitHub (Oct 7, 2021): > But the yt-dlp fork mentioned by @nicolaasjan is using Python so I could take the patch from here if someone can tell me where it is exactly I don't know where this patch is and if it can be applied easily in youtube-dl. But maybe the maintainer of yt-dlp - @pukkandan - can tell you.
Author
Owner

@pukkandan commented on GitHub (Oct 7, 2021):

uh, the patch cannot be easily to applied. yt-dlp's youtube.py code has already diverged significantly from youtube-dl

If you want to try re-implementing the bypass yourself, the basic idea is that you tell youtube that you are an WEB_EMBEDDED_PLAYER rather than WEB. Ref: https://github.com/yt-dlp/yt-dlp/issues/574#issuecomment-887171136. Also, a separate bypass is needed for EU. See https://github.com/yt-dlp/yt-dlp/pull/600#issue-957302784

@pukkandan commented on GitHub (Oct 7, 2021): uh, the patch cannot be easily to applied. yt-dlp's youtube.py code has already diverged significantly from youtube-dl If you want to try re-implementing the bypass yourself, the basic idea is that you tell youtube that you are an `WEB_EMBEDDED_PLAYER` rather than `WEB`. Ref: https://github.com/yt-dlp/yt-dlp/issues/574#issuecomment-887171136. Also, a separate bypass is needed for EU. See https://github.com/yt-dlp/yt-dlp/pull/600#issue-957302784
Author
Owner

@nicolaasjan commented on GitHub (Oct 8, 2021):

Also, a separate bypass is needed for EU. See yt-dlp/yt-dlp#600 (comment)

Note that for this to work in EU, --cookies-from-browser or --cookies has to be provided (just tested with the video mentioned in https://github.com/yt-dlp/yt-dlp/pull/600#issue-957302784).
(--cookies-from-browser doesn't apply to youtube-dl)

@nicolaasjan commented on GitHub (Oct 8, 2021): > Also, a separate bypass is needed for EU. See [yt-dlp/yt-dlp#600 (comment)](https://github.com/yt-dlp/yt-dlp/pull/600#issue-957302784) Note that for this to work in EU, `--cookies-from-browser` or `--cookies` has to be provided (just tested with the [video](https://www.youtube.com/watch?v=Cr381pDsSsA ) mentioned in https://github.com/yt-dlp/yt-dlp/pull/600#issue-957302784). (`--cookies-from-browser` doesn't apply to youtube-dl)
Author
Owner

@baptx commented on GitHub (Oct 8, 2021):

@pukkandan @nicolaasjan indeed the HTTP request (using JavaScript fetch method) mentioned in the update of my previous comment does not work for the video https://www.youtube.com/watch?v=Cr381pDsSsA, there is an error message "Playback on other websites has been disabled by the video owner.".
So I guess the tool of @89z does not work either for this video because we need to log in to YouTube before using cookies? Can you share the HTTP request or tell me where we can find it on YouTube? When visiting https://studio.youtube.com and viewing a video I uploaded, I can see an HTTP request starting with https://studio.youtube.com/youtubei/v1/creator/get_creator_videos but it seems to work for my videos only because replacing the value of videoIds with the video ID of someone else gives an error CREATOR_ENTITY_STATUS_FAILURE.
For the previous HTTP request using the embed technique, I noticed we can find it on a URL like https://www.youtube.com/embed/lqYeIe1KdCY with the network monitor of the web browser developer tools.

Update: the video https://www.youtube.com/watch?v=Cr381pDsSsA works with youtube-dl by giving cookies without the fix https://github.com/yt-dlp/yt-dlp/pull/600#issue-957302784 (I am in EU / France using a VPN hosted at OVH in France). If there is a way to make it work without cookies, it would be nice to share the HTTP request.

@baptx commented on GitHub (Oct 8, 2021): @pukkandan @nicolaasjan indeed the HTTP request (using JavaScript fetch method) mentioned in the update of my previous comment does not work for the video https://www.youtube.com/watch?v=Cr381pDsSsA, there is an error message "Playback on other websites has been disabled by the video owner.". So I guess the tool of @89z does not work either for this video because we need to log in to YouTube before using cookies? Can you share the HTTP request or tell me where we can find it on YouTube? When visiting https://studio.youtube.com and viewing a video I uploaded, I can see an HTTP request starting with https://studio.youtube.com/youtubei/v1/creator/get_creator_videos but it seems to work for my videos only because replacing the value of videoIds with the video ID of someone else gives an error CREATOR_ENTITY_STATUS_FAILURE. For the previous HTTP request using the embed technique, I noticed we can find it on a URL like https://www.youtube.com/embed/lqYeIe1KdCY with the network monitor of the web browser developer tools. Update: the video https://www.youtube.com/watch?v=Cr381pDsSsA works with youtube-dl by giving cookies without the fix https://github.com/yt-dlp/yt-dlp/pull/600#issue-957302784 (I am in EU / France using a VPN hosted at OVH in France). If there is a way to make it work without cookies, it would be nice to share the HTTP request.
Author
Owner

@MarkJeronimus commented on GitHub (Jan 6, 2022):

tl;dr for people finding this: use nicolaasjan's suggestion above for a working no-cookies fork of youtube-dl (tested in EU)

@MarkJeronimus commented on GitHub (Jan 6, 2022): tl;dr for people finding this: use nicolaasjan's suggestion above for a working no-cookies fork of youtube-dl (tested in EU)
Author
Owner

@dima4p commented on GitHub (Mar 31, 2022):

I also receive this message, despite I include lines with --username and --password in my config with the correct values.

$ youtube-dl -wx https://www.youtube.com/watch?v=sKnPjDu2XNk
Type account password and press [Return]: 
[youtube] Downloading login page
[youtube] Looking up account info
WARNING: Unable to look up account info: HTTP Error 400: Bad Request
[youtube] sKnPjDu2XNk: Downloading webpage
[youtube] sKnPjDu2XNk: Refetching age-gated info webpage
WARNING: unable to download video info webpage: HTTP Error 410: Gone
ERROR: Sign in to confirm your age
This video may be inappropriate for some users.

In the example above I've commented out the password in config and entered it manually.

P.S. you can easily check that the video is present. ;-)

@dima4p commented on GitHub (Mar 31, 2022): I also receive this message, despite I include lines with `--username` and `--password` in my config with the correct values. ``` $ youtube-dl -wx https://www.youtube.com/watch?v=sKnPjDu2XNk Type account password and press [Return]: [youtube] Downloading login page [youtube] Looking up account info WARNING: Unable to look up account info: HTTP Error 400: Bad Request [youtube] sKnPjDu2XNk: Downloading webpage [youtube] sKnPjDu2XNk: Refetching age-gated info webpage WARNING: unable to download video info webpage: HTTP Error 410: Gone ERROR: Sign in to confirm your age This video may be inappropriate for some users. ``` In the example above I've commented out the password in config and entered it manually. P.S. you can easily check that the video is present. ;-)
Author
Owner

@dirkf commented on GitHub (Apr 18, 2022):

Duplicate of #29578.

See https://github.com/ytdl-org/youtube-dl/issues/30255#issuecomment-974822885.

@dirkf commented on GitHub (Apr 18, 2022): Duplicate of #29578. See https://github.com/ytdl-org/youtube-dl/issues/30255#issuecomment-974822885.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#24487
No description provided.