From: Yen Chi Hsuan Date: Sun, 3 May 2015 17:11:23 +0000 (+0800) Subject: [lifenews] Fix view count and comment count X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=1748d67aea66b6d63bc203ada1036110e7fd2402;p=youtube-dl [lifenews] Fix view count and comment count --- diff --git a/youtube_dl/extractor/lifenews.py b/youtube_dl/extractor/lifenews.py index 1dfe7f77f..3c00ed333 100644 --- a/youtube_dl/extractor/lifenews.py +++ b/youtube_dl/extractor/lifenews.py @@ -47,9 +47,9 @@ class LifeNewsIE(InfoExtractor): description = self._og_search_description(webpage) view_count = self._html_search_regex( - r'
(\d+)
', webpage, 'view count', fatal=False) + r'
\s*(\d+)\s*
', webpage, 'view count', fatal=False) comment_count = self._html_search_regex( - r'
\s*(\d+)', webpage, 'comment count', fatal=False) + r'
\s*\s*(\d+)\s*', webpage, 'comment count', fatal=False) upload_date = self._html_search_regex( r'