X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Ffirsttv.py;h=c2e987ff72d7847d6c6ec955943763ea9f231e92;hb=8c778adc39fbaa79a6e885532b933364c9952817;hp=20214eac521d140e5b7514c4f03eec17c400be40;hpb=0f6ed94a15ea9f5b9dcc9998e27c7a2bc648deab;p=youtube-dl diff --git a/youtube_dl/extractor/firsttv.py b/youtube_dl/extractor/firsttv.py index 20214eac5..c2e987ff7 100644 --- a/youtube_dl/extractor/firsttv.py +++ b/youtube_dl/extractor/firsttv.py @@ -22,7 +22,8 @@ class FirstTVIE(InfoExtractor): 'description': 'md5:cc730d2bf4215463e37fff6a1e277b13', 'thumbnail': 'http://img1.1tv.ru/imgsize640x360/PR20140210114657.JPG', 'duration': 149, - } + }, + 'skip': 'Only works from Russia', } def _real_extract(self, url): @@ -32,7 +33,7 @@ class FirstTVIE(InfoExtractor): webpage = self._download_webpage(url, video_id, 'Downloading page') video_url = self._html_search_regex( - r'''(?s)jwplayer\('flashvideoportal_1'\).setup\({.*?'file': '([^']+)'.*?}\);''', webpage, 'video URL') + r'''(?s)jwplayer\('flashvideoportal_1'\)\.setup\({.*?'file': '([^']+)'.*?}\);''', webpage, 'video URL') title = self._html_search_regex( r'