]> jfr.im git - yt-dlp.git/commit - yt_dlp/extractor/youtube.py
[youtube] Improve video upload date handling (#3029)
authorcoletdev <redacted>
Sun, 13 Mar 2022 22:02:44 +0000 (11:02 +1300)
committerGitHub <redacted>
Sun, 13 Mar 2022 22:02:44 +0000 (22:02 +0000)
commit17322130a954577bb03b833d5c435638e51e19f2
tree9d3a37056697ed63b1476c655621ea07b1cb97d7
parent5ca764c506adecf674d52948bf3f721727faf077
[youtube] Improve video upload date handling (#3029)

* Don't prefer UTC upload date for past live streams/premieres
* Improve regex (fixes a regression)

Authored-by: coletdjnz
yt_dlp/extractor/youtube.py