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.
leverage entry points for enumerating new extractors #22913
Comments
|
This has been discussed numerous times. For now there are neither plans nor resources for that. |
Checklist
Description
Topic
Code management, and new feature introduction.
This is going to sound a little pretentious, and I am sorry before hand. I love the work your team does, and I'm in the process of writing a few extractors, but I started to get curious about one point in your code base. That point being, has the team considered using entry points to load extractors and separating the codebase to more easily track issues or allow custom extractors?
If anyone is unfamiliar with entry points, python's documentation is sufficient, but here's a humorous walk through: Snek
Proposal
Separating codebase in to multiple projects. A quick patch to youtube_dl.extractors.init.py adding something similar to:
Could be sufficient enough to enable this capability.
Benefits
Afterword
Sorry if this has been proposed before. I spend a good 30+ minutes searching the issues and couldn't find a proposal like this, but I really think the community and your team could benefit from a restructuring like this. If your team supports this, I would be more than willing to kick everything off, and put forward a beta, I just don't want to run the leg work, if the team has any objections.
Thank you for your time. Thank you and your team for a wonderful project, and I with the project all the best going forward.