Merge pull request #7320 from remitamine/adobetv
[youtube-dl] / youtube_dl / extractor / aljazeera.py
index ace5ec19d4907297a30f61c95daaec6f7bad7de9..5b2c0dc9ac10aa826d5757f2fc75738c376219a3 100644 (file)
@@ -1,3 +1,5 @@
+from __future__ import unicode_literals
+
 from .common import InfoExtractor
 
 
@@ -13,7 +15,8 @@ class AlJazeeraIE(InfoExtractor):
             'description': 'As a birth attendant advocating for family planning, Remy is on the frontline of Tondo\'s battle with overcrowding.',
             'uploader': 'Al Jazeera English',
         },
-        'add_ie': ['Brightcove'],
+        'add_ie': ['BrightcoveLegacy'],
+        'skip': 'Not accessible from Travis CI server',
     }
 
     def _real_extract(self, url):
@@ -24,9 +27,10 @@ class AlJazeeraIE(InfoExtractor):
 
         return {
             '_type': 'url',
-            'url':
-                'http://c.brightcove.com/services/viewer/federated_f9?'
-                '&playerKey=AQ~~%2CAAAAmtVJIFk~%2CTVGOQ5ZTwJbeMWnq5d_H4MOM57xfzApc'
-                '&%40videoPlayer={0}'.format(brightcove_id),
-            'ie_key': 'Brightcove',
+            'url': (
+                'brightcove:'
+                'playerKey=AQ~~%2CAAAAmtVJIFk~%2CTVGOQ5ZTwJbeMWnq5d_H4MOM57xfzApc'
+                '&%40videoPlayer={0}'.format(brightcove_id)
+            ),
+            'ie_key': 'BrightcoveLegacy',
         }