Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config file syntax for site specific parameters? #4895

Closed
pps opened this issue Feb 7, 2015 · 2 comments
Closed

Config file syntax for site specific parameters? #4895

pps opened this issue Feb 7, 2015 · 2 comments

Comments

@pps
Copy link

@pps pps commented Feb 7, 2015

I just added
-f 299+bestaudio/137+bestaudio/298+bestaudio/bestvideo+bestaudio
to the youtube-dl config file at
~/.config/youtube-dl/config
to specify which youtube video sizes I prefer.

Problem is, when I now try to use youtube-dl to download files from vimeo, that download now fails. ("ERROR: requested format not available").

Is there a syntax for the config file so that we can specify certain video sizes for youtube but keep the default behavior for other sites?

Thank you!

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Feb 7, 2015

Simply add /best at the end (-f 299+bestaudio/137+bestaudio/298+bestaudio/bestvideo+bestaudio/best) it will fallback to the default format.
I'm closing the issue, since I think that should work. Please comment here if it doesn't solve your problem.

There's already a proposal for supporting per site configuration: #3101.

@jaimeMF jaimeMF closed this Feb 7, 2015
@pps
Copy link
Author

@pps pps commented Feb 7, 2015

It works, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.