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.
Invalid --dateafter crashes with no useful error #18170
Comments
|
Ran a couple extra tests. Looks like a short date either works, but may act on a wrong date, or throws a ValueError complaining about an invalid date format. Given what module throws the error, depending on how youtube-dl is allowed to handle errors, this may be an upstream bug. Fix is probably to add a corrected version of the following to date_from_str in youtube-dl/utils at around line 1811:
|
What is the purpose of your issue?
Description:
With a typo in the --dateafter making a nine digit number (in the below example, an extra 1 in the month), youtube-dl crashes without a useful error message for debugging the command. (Edited for clarity)
Minimal example command:
$ youtube-dl --version
2018.11.07