From: Sergey M․ Date: Fri, 24 Jun 2016 15:37:13 +0000 (+0700) Subject: [youtube] Relax URL expansion in description X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=525cedb971c091793da5a0ef90670e6b5faded62;p=youtube-dl [youtube] Relax URL expansion in description --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 54c6e45f8..46b9dc66c 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1332,7 +1332,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): (?:[a-zA-Z-]+="[^"]*"\s+)*? (?:title|href)="([^"]+)"\s+ (?:[a-zA-Z-]+="[^"]*"\s+)*? - class="(?:yt-uix-redirect-link|yt-uix-sessionlink[^"]*)"[^>]*> + class="[^"]*"[^>]*> [^<]+\.{3}\s* ''', r'\1', video_description)