diff options
| author | Sergey M․ <dstftw@gmail.com> | 2016-01-18 23:17:45 +0600 | 
|---|---|---|
| committer | Sergey M․ <dstftw@gmail.com> | 2016-01-18 23:17:45 +0600 | 
| commit | 096b5339823fc65beeca6cff96867ed03e6234db (patch) | |
| tree | 8f117289a2faf72ae0eb7272f3a801687016d9f5 | |
| parent | dae503afaa8dbbf745a3c796dab1506cd736de83 (diff) | |
[youtube] Fix URL expansion in video description
Fixes test_Youtube_18
| -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 e4f227f19..50c1363cd 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)  | 
