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.
Use proper error handling for subtitles #914
Comments
|
Related: I'm occasionally getting this ton of errors with subtitles. They are at least very unstable.
|
|
It also happens to me sometimes, the first thing I'll do is disable automatic captions by default and then use dictionaries everywhere (at least the error messages will make sense). The most strange error is the one trying to download all the subtitles, I gess it doesn't find subtitles and we end with just a tuple with the error message. |
|
this Error you have with the subtitles looks similar to the error i get in Issue #930 Except im trying to download Videos |
Each IE that extract subtitles should handle the errors internally.
If they are not available, it should report a warning, and if it finds them, set the dictionary of subtitles. The main goal is to stop using tuples for handling errors.
See this weird error from a Travis test (https://travis-ci.org/rg3/youtube-dl/jobs/83670969):