projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b69b2ff
)
[24video] Fix comment count extraction
author
Sergey M․
<dstftw@gmail.com>
Sat, 13 Aug 2016 07:22:47 +0000
(14:22 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 13 Aug 2016 07:22:47 +0000
(14:22 +0700)
youtube_dl/extractor/twentyfourvideo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/twentyfourvideo.py
b/youtube_dl/extractor/twentyfourvideo.py
index 4025edf02b4ca5b8c42e3324fb094fe43141ce68..8b808d6d61766d523ed91ede5d0b8e420b7ba6ee 100644
(file)
--- 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