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.
Specifying file format should download correct video #310
Comments
|
Not sure why two copies were created, closing |
The first time I tried to download a video I ran
youtube-dlwith the-Fflag and got this list of options:I then tried running
youtube-dl -f mp4and got the following message:Which seems odd because it was just shown in the list above.
I'd like to propose one of the following two options:
-fIf there's only one specified resolution for the file format it's easy to choose which one to download. Otherwise, choose the same resolution you would without passing any options to the function.
If the user specifies a format that's also a value in
self._video_extensions, tell them they should try an integer instead and show the list of integers and extensions they should try.Would be happy to submit a pull request, just curious about what you think the interface should look like.
Kevin