mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-29 06:35:50 +01:00
[youtube] Fix URL expansion in video description
Fixes test_Youtube_18
This commit is contained in:
parent
dae503afaa
commit
096b533982
@ -1237,7 +1237,7 @@ def add_dash_mpd(video_info):
|
||||
(?:[a-zA-Z-]+="[^"]+"\s+)*?
|
||||
(?:title|href)="([^"]+)"\s+
|
||||
(?:[a-zA-Z-]+="[^"]+"\s+)*?
|
||||
class="(?:yt-uix-redirect-link|yt-uix-sessionlink[^"]*)".*?>
|
||||
class="(?:yt-uix-redirect-link|yt-uix-sessionlink[^"]*)"[^>]*>
|
||||
[^<]+\.{3}\s*
|
||||
</a>
|
||||
''', r'\1', video_description)
|
||||
|
Loading…
Reference in New Issue
Block a user