[brightcove] Allow whitespace around attribute names in embedded code
[youtube-dl] / youtube_dl / extractor / coub.py
index c3b09b177a62f997b3ee56ff7dc6b9864cfc75ed..5fa1f006b82675d299d1cef30fbe2108496256d5 100644 (file)
@@ -20,7 +20,7 @@ class CoubIE(InfoExtractor):
             'id': '5u5n1',
             'ext': 'mp4',
             'title': 'The Matrix Moonwalk',
-            'thumbnail': 're:^https?://.*\.jpg$',
+            'thumbnail': r're:^https?://.*\.jpg$',
             'duration': 4.6,
             'timestamp': 1428527772,
             'upload_date': '20150408',
@@ -38,6 +38,10 @@ class CoubIE(InfoExtractor):
     }, {
         'url': 'coub:5u5n1',
         'only_matching': True,
+    }, {
+        # longer video id
+        'url': 'http://coub.com/view/237d5l5h',
+        'only_matching': True,
     }]
 
     def _real_extract(self, url):