]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/wimp.py
debian/changelog: Reword for better consumption of users.
[youtubedl] / youtube_dl / extractor / wimp.py
index c022fb33e94ef7f9e6f0e90d73300f866e8ffc76..3dab9145ba9c57bfd1d78a90a847761c23f0d8a8 100644 (file)
@@ -36,7 +36,8 @@ class WimpIE(InfoExtractor):
         webpage = self._download_webpage(url, video_id)
 
         youtube_id = self._search_regex(
-            r"videoId\s*:\s*[\"']([0-9A-Za-z_-]{11})[\"']",
+            (r"videoId\s*:\s*[\"']([0-9A-Za-z_-]{11})[\"']",
+             r'data-id=["\']([0-9A-Za-z_-]{11})'),
             webpage, 'video URL', default=None)
         if youtube_id:
             return {