From 1748d67aea66b6d63bc203ada1036110e7fd2402 Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Mon, 4 May 2015 01:11:23 +0800 Subject: [PATCH] [lifenews] Fix view count and comment count --- youtube_dl/extractor/lifenews.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'