A feature-rich command-line audio/video downloader
[youtube] Allow empty attribute values in description regex
Sergey M․25cb7a0eebae
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.pyindex b7c3cb63fc..f3f102c30f 100644--- a/youtube_dl/extractor/youtube.py+++ b/youtube_dl/extractor/youtube.py@@ -1326,9 +1326,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):if video_description:video_description = re.sub(r'''(?x)<a\s+- (?:[a-zA-Z-]+="[^"]+"\s+)*?+ (?:[a-zA-Z-]+="[^"]*"\s+)*?(?:title|href)="([^"]+)"\s+- (?:[a-zA-Z-]+="[^"]+"\s+)*?+ (?:[a-zA-Z-]+="[^"]*"\s+)*?class="(?:yt-uix-redirect-link|yt-uix-sessionlink[^"]*)"[^>]*>[^<]+\.{3}\s*</a>