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.
Feature request - Filter commands by site #13694
Comments
|
Duplicate of #3101. |
|
At least it's a more accurate label. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.07.15. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
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 templatewould run any commands that come after it only if the site being used is youtube.com.
Multiple
--match-sitecommands could be used to make templates for different sites (e.g. different--outputcommands for youtube.com and vimeo.com, etc.).--match-site unlistedwould apply commands to sites not specifically listed by --match-site.
Support for any url structure.
Or add the same support options to
--match-filter