aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-08-13 14:22:47 +0700
committerSergey M․ <dstftw@gmail.com>2016-08-13 14:22:47 +0700
commitbd6fb007de2323065bface4467539b509fbdb062 (patch)
tree52a49adfa05d7dd63b2544ac7cc6f912986ca14e /youtube_dl/extractor
parentb69b2ff7366cee97202eb333bf06329bfb2e974e (diff)
[24video] Fix comment count extraction
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/twentyfourvideo.py2
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