diff options
author | Sergey M․ <[email protected]> | 2016-06-24 22:37:13 +0700 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2016-06-24 22:37:13 +0700 |
commit | 525cedb971c091793da5a0ef90670e6b5faded62 (patch) | |
tree | aae7fe0c26b8ad64c2535dd65770bb26a0731054 | |
parent | de3c7fe0d42fd6027b99ab87ee5b4a4b4054daf6 (diff) | |
download | youtube-dl-525cedb971c091793da5a0ef90670e6b5faded62.tar.gz youtube-dl-525cedb971c091793da5a0ef90670e6b5faded62.zip |
[youtube] Relax URL expansion in description
-rw-r--r-- | youtube_dl/extractor/youtube.py | 2 |
1 files changed, 1 insertions, 1 deletions
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* </a> ''', r'\1', video_description) |