1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[youtube] Fix URL expansion in video description

Fixes test_Youtube_18
This commit is contained in:
Sergey M․ 2016-01-18 23:17:45 +06:00
parent dae503afaa
commit 096b533982

View file

@ -1237,7 +1237,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
(?:[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)