Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But https://github.com/yt-dlp/yt-dlp (fork of youtube-dl) can, so it shouldn't be a problem forever for youtube-dl either?


yt-dlp actually does have the same issue (at least when connecting from the US):

./yt-dlp.sh "https://www.youtube.com/watch?v=rR8s72aouNE"

[youtube] rR8s72aouNE: Downloading webpage

[youtube] rR8s72aouNE: Refetching age-gated info webpage

ERROR: Sign in to confirm your age

This video may be inappropriate for some users.


Seems to be video-dependent, tried the one you posted, and it seems to fail, but another one "https://www.youtube.com/watch?v=oY4Gz_Axpew" worked with yt-dlp but not youtube-dl. Guess it's the beginning of the end of watching youtube for me soon.

EDIT: From an EU ip.


from USA ip :

youtube-dl https://www.youtube.com/watch?v=oY4Gz_Axpew [youtube] oY4Gz_Axpew: Downloading webpage [youtube] oY4Gz_Axpew: Refetching age-gated info webpage WARNING: unable to download video info webpage: HTTP Error 404: Not Found Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module> File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 475, in main File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 465, in _real_main File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2069, in download File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 808, in extract_info File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1502, in _real_extract File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2644, in compat_parse_qs File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2614, in _parse_qsl AttributeError: 'bool' object has no attribute 'split'

very interesting


i tried "https://www.youtube.com/watch?v=rR8s72aouNE" and your link and both return the same thing -- age restricted -- from south america.


I don't see a mention of yt-dlp in the yt-dl issue tracker, so why is this? Does dlp autocorrect videos to the youtube-nocookie.com embed (as stated https://news.ycombinator.com/item?id=27354423) ?


Nope. There's two issues being talked about here. If you are in the EU then you have to provide cookies from an age-verified account. Otherwise, the age-gate bypass still works afaik. But the latter is broken in the current youtube-dl release (fixed in yt-dlp).

Also, yt-dl doesn't like yt-dlp to be mentioned on their issue tracker from what I hear.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: