youtube-dl icon indicating copy to clipboard operation
youtube-dl copied to clipboard

ccma fix date parsing

Open celebdor opened this issue 2 years ago • 1 comments

Before submitting a pull request make sure you have:

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

  • [x] I am the original author of this code and I am willing to release it under Unlicense
  • [ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

  • [x] Bug fix
  • [ ] Improvement
  • [ ] New extractor
  • [ ] New feature

Description of your pull request and other information

This PR fixes the date to the way ccma provides it as well as fixing some broken tests

closes #30961

celebdor avatar Oct 31 '22 08:10 celebdor

The download tests are failing. Please check if this is happening locally. Both in Py 2.7 and Py 3.9 there's 403 on extraction in one test, and failing to get the timestamp/upload_date in others. Possibly the webpage is somehow not being decoded into UTF-8.

dirkf avatar Oct 31 '22 19:10 dirkf