[ie/youtube] Fix `release_date` extraction (#11759)

Authored by: MutantPiggieGolem1
pull/11801/head
Pew 2 weeks ago committed by GitHub
parent bc262bcad4
commit d5e2a379f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4689,7 +4689,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
(?=(?P<artist>[^\n]+))(?P=artist)\n+
(?=(?P<album>[^\n]+))(?P=album)\n
(?:.+?\s*(?P<release_year>\d{4})(?!\d))?
(?:.+?Released on\s*:\s*(?P<release_date>\d{4}-\d{2}-\d{2}))?
(?:.+?Released\ on\s*:\s*(?P<release_date>\d{4}-\d{2}-\d{2}))?
(.+?\nArtist\s*:\s*
(?=(?P<clean_artist>[^\n]+))(?P=clean_artist)\n
)?.+\nAuto-generated\ by\ YouTube\.\s*$

Loading…
Cancel
Save