[cbsnews] fix extraction for 60 Minutes videos
[youtube-dl] / youtube_dl / extractor / cbsnews.py
index 216989230c3a20046045c2c0b658af23385c464b..651ae2665bf1080e71035634e0c28a904c549823 100644 (file)
@@ -1,4 +1,4 @@
-# encoding: utf-8
+# coding: utf-8
 from __future__ import unicode_literals
 
 from .common import InfoExtractor
@@ -39,7 +39,7 @@ class CBSNewsIE(CBSIE):
                 'upload_date': '20140404',
                 'timestamp': 1396650660,
                 'uploader': 'CBSI-NEW',
-                'thumbnail': 're:^https?://.*\.jpg$',
+                'thumbnail': r're:^https?://.*\.jpg$',
                 'duration': 205,
                 'subtitles': {
                     'en': [{
@@ -65,7 +65,7 @@ class CBSNewsIE(CBSIE):
 
         item = video_info['item'] if 'item' in video_info else video_info
         guid = item['mpxRefId']
-        return self._extract_video_info(guid)
+        return self._extract_video_info(guid, 'cbsnews')
 
 
 class CBSNewsLiveVideoIE(InfoExtractor):