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: List Extractors as JSON #17208
Comments
You can't do that without running the actual extraction process.
This is completely senseless. They are provided not as domain on purpose.
This won't work as already described. |
What is the purpose of your issue?
Hello, this is a little suggestion that I think could be useful to be possible integrate software with
youtube-dl.I needed a way to determinate what URLs can be extracted using
youtube-dl. Something like:Using that I can avoid pass urls to
youtube-dlthat actually doesn't support video extraction.My problem was how to determinate the list of compatible services.
Although you provide
youtube-dl --list-extractors, this is not actually a list of domains services that we can use for compare, but it's something.I created a tiny script on JavaScript to convert into something more deterministic
Here the original source code
I run every time I install my dependencies, so the script keep the providers up to date with the last
youtube-dl version. This is an example of outputThen is very easy to check if the url is youtube-dl compatible; just need to extract the domain from the input url and check it into the providers list:
For me, it makes sense include something like this output as part of
youtube-dl.Something similar to
--dump-jsonthat makes easy connectyoutube-dlwith third party software but oriented for know compatible services.Maybe🙂
--list-extractors-json? I don't know, what do you think