A feature-rich command-line audio/video downloader
[youtube] Fix URL expansion in video description
Sergey M․096b5339823f
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.pyindex e4f227f199..50c1363cd5 100644--- a/youtube_dl/extractor/youtube.py+++ b/youtube_dl/extractor/youtube.py@@ -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)