mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-20 05:40:00 +00:00
[ie/youtube] Fix release_date
extraction (#11759)
Authored by: MutantPiggieGolem1
This commit is contained in:
parent
bc262bcad4
commit
d5e2a379f2
1 changed files with 1 additions and 1 deletions
|
@ -4689,7 +4689,7 @@ def process_language(container, base_url, lang_code, sub_name, query):
|
||||||
(?=(?P<artist>[^\n]+))(?P=artist)\n+
|
(?=(?P<artist>[^\n]+))(?P=artist)\n+
|
||||||
(?=(?P<album>[^\n]+))(?P=album)\n
|
(?=(?P<album>[^\n]+))(?P=album)\n
|
||||||
(?:.+?℗\s*(?P<release_year>\d{4})(?!\d))?
|
(?:.+?℗\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*
|
(.+?\nArtist\s*:\s*
|
||||||
(?=(?P<clean_artist>[^\n]+))(?P=clean_artist)\n
|
(?=(?P<clean_artist>[^\n]+))(?P=clean_artist)\n
|
||||||
)?.+\nAuto-generated\ by\ YouTube\.\s*$
|
)?.+\nAuto-generated\ by\ YouTube\.\s*$
|
||||||
|
|
Loading…
Reference in a new issue