mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-14 16:38:29 +00:00
slight revision _video.py
.+ outside the artist group steamrolls any potential artist tag, so we move it inside the artist group
This commit is contained in:
parent
1b4d0401e4
commit
08c7d5379e
@ -4184,8 +4184,8 @@ def process_language(container, base_url, lang_code, sub_name, client_name, quer
|
||||
(?P<album>[^\n]+)\n+
|
||||
(?:℗\s*(?P<release_year>\d{4})[^\n]+\n+)?
|
||||
(?:Released\ on\s*:\s*(?P<release_date>\d{4}-\d{2}-\d{2}))?.+?
|
||||
(\nArtist\s*:\s*(?P<clean_artist>[^\n]+)\n)?
|
||||
.+Auto-generated\ by\ YouTube\.\s*$
|
||||
(\nArtist\s*:\s*(?P<clean_artist>[^\n]+)\n.+)?
|
||||
Auto-generated\ by\ YouTube\.\s*$
|
||||
''', video_description)
|
||||
if mobj:
|
||||
release_year = mobj.group('release_year')
|
||||
|
Loading…
Reference in New Issue
Block a user