]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/twitter.py
debian/control: Update the repository to github.com.
[youtubedl] / youtube_dl / extractor / twitter.py
index 0df3ad7c7c0f61b6529f0e5d09fd1694e9c84f04..1b0b9637160f3c096b4baf07f6146bc9d84a31c8 100644 (file)
@@ -174,7 +174,7 @@ class TwitterCardIE(TwitterBaseIE):
         webpage = self._download_webpage(url, video_id)
 
         iframe_url = self._html_search_regex(
-            r'<iframe[^>]+src="((?:https?:)?//(?:www.youtube.com/embed/[^"]+|(?:www\.)?vine\.co/v/\w+/card))"',
+            r'<iframe[^>]+src="((?:https?:)?//(?:www\.youtube\.com/embed/[^"]+|(?:www\.)?vine\.co/v/\w+/card))"',
             webpage, 'video iframe', default=None)
         if iframe_url:
             return self.url_result(iframe_url)