New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CCMA] "ValueError: date not matching format" when downloading video #30961
Comments
Some home-made code can be replaced by a standard utility:
yt-dlp chose The hand-rolled code is catching |
Can confirm that by modifying the code like shown up here downloading from CCMA works. Without the modification it fails because when checking for timestamp it is returned as %y-%m-%d instead of %y-%d-%m, as is normal outside of the US |
This PR fixes the date to the way ccma provides it as well as fixing some broken tests closes ytdl-org#30961 Signed-off-by: Antoni Segura Puimedon <celebdor@gmail.com>
This PR fixes the date to the way ccma provides it as well as fixing some broken tests closes ytdl-org#30961 Signed-off-by: Antoni Segura Puimedon <celebdor@gmail.com>
Checklist
Verbose log
Description
Got a ValueError when attempting to download this video. It seems like the date is actually matching the format, so no idea about what's going on.
The text was updated successfully, but these errors were encountered: