diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-08-13 14:22:47 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-08-13 14:22:47 +0700 |
commit | bd6fb007de2323065bface4467539b509fbdb062 (patch) | |
tree | 52a49adfa05d7dd63b2544ac7cc6f912986ca14e /youtube_dl/extractor/twentyfourvideo.py | |
parent | b69b2ff7366cee97202eb333bf06329bfb2e974e (diff) |
[24video] Fix comment count extraction
Diffstat (limited to 'youtube_dl/extractor/twentyfourvideo.py')
-rw-r--r-- | youtube_dl/extractor/twentyfourvideo.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'<span class="video-views">(\d+) просмотр', webpage, 'view count', fatal=False)) comment_count = int_or_none(self._html_search_regex( - r'<div class="comments-title" id="comments-count">(\d+) комментари', + r'<a[^>]+href="#tab-comments"[^>]*>(\d+) комментари', webpage, 'comment count', fatal=False)) # Sets some cookies |