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

Feature request - Filter commands by site #13694

Closed
sirylj opened this issue Jul 21, 2017 · 2 comments
Closed

Feature request - Filter commands by site #13694

sirylj opened this issue Jul 21, 2017 · 2 comments
Labels

Comments

@sirylj
Copy link

@sirylj sirylj commented Jul 21, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.07.15. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.07.15

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Feature request - Filter commands by site

Reposting since last issue was closed as invalid. #13648
This filter would be used with the config to run different commands (output template, video type, etc) based on the site being used.

Original post:

A command line option filter that runs commands based on the site being used. e.g.

--match-site youtube.com --output template

would run any commands that come after it only if the site being used is youtube.com.

Multiple --match-site commands could be used to make templates for different sites (e.g. different --output commands for youtube.com and vimeo.com, etc.).

--match-site unlisted

would apply commands to sites not specifically listed by --match-site.

Support for any url structure.

Or add the same support options to --match-filter

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 21, 2017

Duplicate of #3101.

@dstftw dstftw marked this as a duplicate of #3101 Jul 21, 2017
@dstftw dstftw closed this Jul 21, 2017
@dstftw dstftw added the duplicate label Jul 21, 2017
@sirylj
Copy link
Author

@sirylj sirylj commented Jul 21, 2017

At least it's a more accurate label.
Is there any progress on this, since it was originally suggested in 2014?

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.