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.
Request: Some type of support for URL's that have season/epsiode info in the titles #12533
Comments
|
This can't be used as general purpose heuristic. |
Youtube-dl does not currently give a good filename for URL's like:
youtube-dl http://abc.go.com/shows/time-after-time/episode-guide/season-01/4-secrets-stolen
This is not really YouTube-dl's fault -- ABC is returning a filename of "Secrets-stolen". This is affecting at least all of TimeAfterTime and OnceUponATime at ABC. It may affect others as well.
But note that the season and episode number info is in the URL, even if not in the filename supplied at the remote end.
This is a request for some ability to generate season/episode numbers into the output filename when there isn't any. And yes, I know that's a hard problem in general, but I figure there's some heuristics available, such as looking for a leading number in the filename / numbers in the URL.