X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=youtube_dl%2Fextractor%2Flifenews.py;h=081016b8014afaf210eabe34404b7cd643fb65de;hb=d47e980d0de4aeeca757433365836b61c2ee9f9f;hp=33013869231a214e7ff1720b38128114364c4369;hpb=848edeab898ee45e45a8fcdb355f35be8b73dd5d;p=youtube-dl diff --git a/youtube_dl/extractor/lifenews.py b/youtube_dl/extractor/lifenews.py index 330138692..081016b80 100644 --- a/youtube_dl/extractor/lifenews.py +++ b/youtube_dl/extractor/lifenews.py @@ -39,6 +39,17 @@ class LifeNewsIE(InfoExtractor): 'upload_date': '20150402', 'uploader': 'embed.life.ru', } + }, { + 'url': 'http://lifenews.ru/news/153461', + 'md5': '9b6ef8bc0ffa25aebc8bdb40d89ab795', + 'info_dict': { + 'id': '153461', + 'ext': 'mp4', + 'title': 'В Москве спасли потерявшегося медвежонка, который спрятался на дереве', + 'description': 'Маленький хищник не смог найти дорогу домой и обрел временное убежище на тополе недалеко от жилого массива, пока его не нашла соседская собака.', + 'upload_date': '20150505', + 'uploader': 'embed.life.ru', + } }] def _real_extract(self, url): @@ -88,6 +99,7 @@ class LifeNewsIE(InfoExtractor): return cur_info if iframe_link: + iframe_link = self._proto_relative_url(iframe_link, 'http:') cur_info = dict(common_info) cur_info.update({ '_type': 'url_transparent',