mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 19:52:11 +00:00
[youtube] Fix URL expansion in video description
Fixes test_Youtube_18
This commit is contained in:
parent
dae503afaa
commit
096b533982
1 changed files with 1 additions and 1 deletions
|
@ -1237,7 +1237,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
(?:[a-zA-Z-]+="[^"]+"\s+)*?
|
(?:[a-zA-Z-]+="[^"]+"\s+)*?
|
||||||
(?:title|href)="([^"]+)"\s+
|
(?:title|href)="([^"]+)"\s+
|
||||||
(?:[a-zA-Z-]+="[^"]+"\s+)*?
|
(?:[a-zA-Z-]+="[^"]+"\s+)*?
|
||||||
class="(?:yt-uix-redirect-link|yt-uix-sessionlink[^"]*)".*?>
|
class="(?:yt-uix-redirect-link|yt-uix-sessionlink[^"]*)"[^>]*>
|
||||||
[^<]+\.{3}\s*
|
[^<]+\.{3}\s*
|
||||||
</a>
|
</a>
|
||||||
''', r'\1', video_description)
|
''', r'\1', video_description)
|
||||||
|
|
Loading…
Reference in a new issue