[youtube] Add ability to authenticate with cookies
[youtube-dl] / youtube_dl / extractor / fc2.py
index b9e58d4df9510546a159863971b2d4461366815a..448647d727159d97b2f940e76136888af1abc64a 100644 (file)
@@ -133,7 +133,7 @@ class FC2EmbedIE(InfoExtractor):
             'id': '201403223kCqB3Ez',
             'ext': 'flv',
             'title': 'プリズン・ブレイク S1-01 マイケル 【吹替】',
-            'thumbnail': 're:^https?://.*\.jpg$',
+            'thumbnail': r're:^https?://.*\.jpg$',
         },
     }
 
@@ -153,6 +153,7 @@ class FC2EmbedIE(InfoExtractor):
 
         return {
             '_type': 'url_transparent',
+            'ie_key': FC2IE.ie_key(),
             'url': 'fc2:%s' % video_id,
             'title': title,
             'thumbnail': thumbnail,