Closed UnforeseenOcean closed 4 years ago
Can confirm that (wanted to download age-restricted Youtube Poop from Germany and was greeted with a 404).
Exporting cookies doesn't do anything, either. JDownloader works, though.
I'm having this problem as well. I also seem to be having issues signing into google from my mobile device entirely. Almost every browser I use, except firefox, does not allow me to sign in when using the desktop user agent. I am met with the message -
"This browser or app may not be secure. Learn more
Try using a different browser. If you’re already using a supported browser, you can refresh your screen and try again to sign in."
This is not specific to my account. It occurs anytime I attempt to sign in to google regardless of the credentials. Even occurs on chrome browser. Switching to the mobile site seems to resolve this most of the time. I've tried signing in with youtube-dl using various mobile user agents, and none have worked. Can someone please chime in?
Getting the same warning when trying to download my Youtube watch history (which probably contains a few age-restriced videos).
On a side note, when I try to download the YT history data via Google Takeout, I get an empty export. Perhaps the same or a related problem?
Can confirm I am getting the same warning. Specifying cookies nor switching user agents didn't fix the issue for me either.
#metoo
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-u', 'PRIVATE', ':ythistory']
Type account password and press [Return]:
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.7.8 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Proxy map: {}
[youtube:history] Downloading login page
[youtube:history] Looking up account info
WARNING: Unable to look up account info: HTTP Error 404: Not Found
[youtube:history] Youtube History: Downloading webpage
[download] Downloading playlist: Youtube History
[youtube:history] playlist Youtube History: Downloading 0 videos
[download] Finished downloading playlist: Youtube History
@remitamine duplicate of what?
duplicate of what? seriously
According to git issue search, this is not a duplicate. Please re-open the issue. (other issues are referring to 403 error caused by outdated code, this is something else entirely)
Also now for whatever reason it's stuck doing nothing, so I cannot test it again.
@remitamine, this is not the same duplicate (I'm assuming age-gate) issue and is indeed unique. This can be confirmed by trying to use -u -p or .netrc to authenticate to any Google service currently. This error is an example of what we see trying to authenticate to various Google (video, music, etc) "Premium" services that require account authentication - even with cookies used.
@UnforeseenOcean
> youtube-dl.exe --cookies C:\Users\<redacted>\backup_cookies_all_20200709153303.txt https://www.youtube.com/watch?v=exUnB1iGdME
[youtube] exUnB1iGdME: Downloading webpage
[youtube] exUnB1iGdME: Downloading MPD manifest
[dashsegments] Total fragments: 14
[download] Destination: OWL-GGuppy-exUnB1iGdME.f302.webm
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1 (attempt 1 of 10)...
[download] 100% of 8.54MiB in 00:20
[dashsegments] Total fragments: 8
[download] Destination: OWL-GGuppy-exUnB1iGdME.f251.webm
[download] 100% of 1.04MiB in 00:03
[ffmpeg] Merging formats into "OWL-GGuppy-exUnB1iGdME.mkv"
ERROR: Conversion failed!
[ffmpeg] There aren't any subtitles to convert
[ffmpeg] There aren't any subtitles to embed
@dardo82
> youtube-dl.exe --cookies C:\Users\<redacted>\backup_cookies_all_20200709153303.txt :ythistory
[youtube:history] Youtube History: Downloading webpage
[download] Downloading playlist: Youtube History
[youtube:history] Youtube History: Downloading page #1
[youtube:history] Youtube History: Downloading page #2
[youtube:history] Youtube History: Downloading page #3
[youtube:history] Youtube History: Downloading page #4
[youtube:history] Youtube History: Downloading page #5
[youtube:history] Youtube History: Downloading page #6
[youtube:history] Youtube History: Downloading page #7
[youtube:history] Youtube History: Downloading page #8
[youtube:history] Youtube History: Downloading page #9
[youtube:history] Youtube History: Downloading page #10
[youtube:history] Youtube History: Downloading page #11
[youtube:history] Youtube History: Downloading page #12
[youtube:history] playlist Youtube History: Downloading 1698 videos
[download] Downloading video 1 of 1698
[youtube] PDTCgxvmShc: Downloading webpage
[download] Destination: The_Easy_Guide_On_Seasoning_and_Restoring_Cast_Iron-Joshua_Weissman-PDTCgxvmShc.f303.webm
[download] 100% of 158.03MiB in 00:06
[download] Destination: The_Easy_Guide_On_Seasoning_and_Restoring_Cast_Iron-Joshua_Weissman-PDTCgxvmShc.f251.webm
[download] 100% of 6.35MiB in 00:00
[ffmpeg] Merging formats into "The_Easy_Guide_On_Seasoning_and_Restoring_Cast_Iron-Joshua_Weissman-PDTCgxvmShc.mkv"
Deleting original file The_Easy_Guide_On_Seasoning_and_Restoring_Cast_Iron-Joshua_Weissman-PDTCgxvmShc.f303.webm (pass -k to keep)
Deleting original file The_Easy_Guide_On_Seasoning_and_Restoring_Cast_Iron-Joshua_Weissman-PDTCgxvmShc.f251.webm (pass -k to keep)
[ffmpeg] There aren't any subtitles to convert
[ffmpeg] There aren't any subtitles to embed
[download] Downloading video 2 of 1698
[youtube] ey_NEoM2SpM: Downloading webpage
ERROR: Interrupted by user
@garoto so it works with cookies? How did you save them? Explain...
@dardo82 cookies do not work for *this* issue.
@dardo82 cookies do not work for this issue...
@michealespinola Why are you telling it to me?
@dardo82 it looked like you were asking a question.
@dardo82 it looked like you were asking a question.
@michealespinola I wasn't asking you...
@dardo82 if this is the type of person you wish to be, then so be it.
@dardo82 if this is the type of person you wish to be, then so be it.
@michealspinola what is wrong with you?
Is this going to be reopened or what?
I'm having the same issue but I'm trying to download youtube music premium songs
For anyone new here, this guy closes countless legitimate new issues as duplicates without any duplicate issue actually existing.
He will refuse to link the so-called duplicate issue or speak.
That's just how this bug tracker goes.
@michealspinola what is wrong with you?
@dardo82 I tried to offer some assistance, and you are being unnecessarily confrontational about it. I don't understand what your problem is. If the information I offered was not of help to you, then just move on. But I'm not going to be badgered for trying to offer information to you.
That's just how this bug tracker goes.
That's good to know moving forward, @z0z0z. Do you know if there is a listed project hierarchy or something to indicate who has scope of authority for this project?
youtube-dl --user-agent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
Just run youtube-dl with this user-agent to download age restricted videos now.
Anyway I don't even know if this is a duplicate, I just know he has closed several hundred legitimate new issues as "duplicate" where no duplicate actually exists.
Guy is schizophrenic and gone crazy from moderating this bug tracker basically.
Seems like he isn't the only one with problems here...
youtube-dl --user-agent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
Just run youtube-dl with this user-agent to download age-restricted videos now.
That doesn't seem to be working well.
Wait no, scratch that, I'm an idiot.
Nope, still doesn't work.
...Except for one video: https://www.youtube.com/watch?v=2qyIEXpgbN4
@dardo82, for someone that is a "Social Media Manager", you have poor social skills.
Can we keep this on topic, please? Thanks.
@z0z0z Adding the user-agent isn't working for me. Still getting the 404 error.
Just wondering, is there a way to have youtube-dl skip age-restricted videos?
Yeah, I wonder about that too. Maybe it can see the metadata and find out if the video has a tag that says "Age-restricted video"?
Oh also it turns out the config was somehow corrupted and it was trying to log into an account [@2.c
(invalid address) with a password of ` (nothing). I rewrote my creds and it works fine. The login still fails with
404 Not Found`.
Can we keep this on topic, please? Thanks.
@z0z0z Adding the user-agent isn't working for me. Still getting the 404 error.
Hello, i have just tried the user-agent flag and it worked perfectly ( without logining or anything)
youtube-dl --get-format https://youtube.com/watch?v=j8ZF_R_j0OY
ERROR: j8ZF_R_j0OY: YouTube said: Unable to extract video data
After adding the flag :
youtube-dl --user-agent="Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" --get-format https://youtube.com/watch?v=j8ZF_R_j0OY
136 - 1280x720 (720p)+251 - audio only (tiny)
@dardo82, for someone that is a "Social Media Manager", you have poor social skills.
Why do you care about my job titles? Do you want to hire me?
Checklist
Verbose log
Description
This issue occurs on age-restricted videos (in Korea you need to verify your age before you can watch these videos). I did confirm that I can log into the account using those credentials I provided, and the videos are indeed watchable (after verifying the age), but it doesn't work on youtube-dl. What I'm confused about is that this issue didn't appear before YouTube silently updated their system and that it says 404 Not Found instead of something like 400 Bad Request or 403 Forbidden. If you need help verifying the issue, let me know and I will do so.