From: Sergey M. Date: Thu, 27 Feb 2014 14:45:34 +0000 (+0700) Subject: [lifenews] Switch to non-mobile webpage version (Fixes #2476) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=1877a140496155bcb8d560aa876ee02fbfe23193;p=youtube-dl [lifenews] Switch to non-mobile webpage version (Fixes #2476) --- diff --git a/youtube_dl/extractor/lifenews.py b/youtube_dl/extractor/lifenews.py index 7b7185f9a..bb1bae643 100644 --- a/youtube_dl/extractor/lifenews.py +++ b/youtube_dl/extractor/lifenews.py @@ -32,7 +32,7 @@ class LifeNewsIE(InfoExtractor): mobj = re.match(self._VALID_URL, url) video_id = mobj.group('id') - webpage = self._download_webpage('http://lifenews.ru/mobile/news/%s' % video_id, video_id, 'Downloading page') + webpage = self._download_webpage('http://lifenews.ru/news/%s' % video_id, video_id, 'Downloading page') video_url = self._html_search_regex( r'', webpage, 'video URL') @@ -50,7 +50,7 @@ class LifeNewsIE(InfoExtractor): view_count = self._html_search_regex( r'
(\d+)
', webpage, 'view count', fatal=False) comment_count = self._html_search_regex( - r'
(\d+)
', webpage, 'comment count', fatal=False) + r'
\s*(\d+)', webpage, 'comment count', fatal=False) upload_date = self._html_search_regex( r'