Open spongbros opened 6 years ago
instead of requiring users to fiddle around with cookies.
Besides cookies you have to also supply the browser's user agent string: This command worked:
youtube-dl --no-check-certificate --cookies C:\cookies.txt --user-agent "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36" <url>
This could also explain why embedded youtube_dl (which seems to lack a user-agent setting) is failing on sensitive media even with a cookies file.
[x] I've verified and I assure that I'm running youtube-dl 2018.06.04
[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser
[x] Bug report (encountered problems with youtube-dl)
Trying to download from a Tumblr URL no longer works. It looks like youtube-dl's getting tripped up on the recently-added privacy consent screen - youtube-dl tries to parse media information from the consent page instead of continuing on to the actual post. It would be best if youtube-dl automatically worked around this instead of requiring users to fiddle around with cookies.