]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[youtube] Relax URL expansion in description
authorSergey M․ <dstftw@gmail.com>
Fri, 24 Jun 2016 15:37:13 +0000 (22:37 +0700)
committerSergey M․ <dstftw@gmail.com>
Fri, 24 Jun 2016 15:37:13 +0000 (22:37 +0700)
youtube_dl/extractor/youtube.py

index 54c6e45f87aef9323f912101b748277f5c958d55..46b9dc66cf6ce263bc8f8c87eadeb8a328086e82 100644 (file)
@@ -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)