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

Using the configuration file to define separate configurations #22187

Closed
waahhhh opened this issue Aug 22, 2019 · 0 comments
Closed

Using the configuration file to define separate configurations #22187

waahhhh opened this issue Aug 22, 2019 · 0 comments

Comments

@waahhhh
Copy link

@waahhhh waahhhh commented Aug 22, 2019

Checklist

  • I'm reporting a feature request
  • I've verified that I'm running youtube-dl version 2019.08.13
  • I've searched the bugtracker for similar feature requests including closed ones

Description

It would be pretty nice if we could use the configuration file to define separate configurations.
As example in (TOML-Syntax):

[extractor-a]
x=true
audio-format="mp3"

[extractor-b]
o="S%(season_number)s_E%(episode_number)s_%(title)s.%(ext)s"

If we pass an URL that matches "extractor-a", we get an mp3 file.
If we pass an URL that matches "extractor-b", we get a video file that uses a different output template.

@waahhhh waahhhh added the request label Aug 22, 2019
@dstftw dstftw closed this Aug 22, 2019
@dstftw dstftw added the duplicate label Aug 22, 2019
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.