From: Sergey M․ Date: Sat, 13 Aug 2016 07:22:47 +0000 (+0700) Subject: [24video] Fix comment count extraction X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=bd6fb007de2323065bface4467539b509fbdb062;p=youtube-dl [24video] Fix comment count extraction --- diff --git a/youtube_dl/extractor/twentyfourvideo.py b/youtube_dl/extractor/twentyfourvideo.py index 4025edf02..8b808d6d6 100644 --- a/youtube_dl/extractor/twentyfourvideo.py +++ b/youtube_dl/extractor/twentyfourvideo.py @@ -64,7 +64,7 @@ class TwentyFourVideoIE(InfoExtractor): r'(\d+) просмотр', webpage, 'view count', fatal=False)) comment_count = int_or_none(self._html_search_regex( - r'
(\d+) комментари', + r']+href="#tab-comments"[^>]*>(\d+) комментари', webpage, 'comment count', fatal=False)) # Sets some cookies