mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-23 08:26:50 +00:00
[24video] Fix comment count extraction
This commit is contained in:
parent
b69b2ff736
commit
bd6fb007de
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user