Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Custom header needed to download 60fps videos in “unknown_video” formats #4079
Comments
|
The download and name works fine for me with the current version of youtube-dl. I suspect that you are running an outdated version. What output do you get when you add the |
|
Oh, that was with version 2014.10.15. I upgraded to 2014.10.30 and it works out of the box now. |
Example video: http://youtu.be/-eVwgzBv7Ao
youtube-dl -F
However, downloading the -f 298 and -f 299 options (which are 60fps) results in this error:
youtube-dl -f 299
The way to work around it is to add a custom “accept” header, as follows:
youtube-dl -f 299 --add-header "accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8"
This header was just copied from the headers chrome/firefox send. It might me useful to make them default.