X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Faljazeera.py;h=5b2c0dc9ac10aa826d5757f2fc75738c376219a3;hb=960e0388869a0cb383ee86fa01dce6cc8abc380a;hp=ace5ec19d4907297a30f61c95daaec6f7bad7de9;hpb=bb18d787b5c0ded4865090e8022338db063520b2;p=youtube-dl diff --git a/youtube_dl/extractor/aljazeera.py b/youtube_dl/extractor/aljazeera.py index ace5ec19d..5b2c0dc9a 100644 --- a/youtube_dl/extractor/aljazeera.py +++ b/youtube_dl/extractor/aljazeera.py @@ -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', }