mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-16 10:32:40 +09:00
[sunporno] Fix view_count extraction
This commit is contained in:
parent
a9e58ecd3f
commit
05aa9c82d9
@ -44,7 +44,7 @@ class SunPornoIE(InfoExtractor):
|
|||||||
webpage, 'duration', fatal=False))
|
webpage, 'duration', fatal=False))
|
||||||
|
|
||||||
view_count = int_or_none(self._html_search_regex(
|
view_count = int_or_none(self._html_search_regex(
|
||||||
r'class="views">\s*(\d+)\s*<',
|
r'class="views">(?:<noscript>)?\s*(\d+)\s*<',
|
||||||
webpage, 'view count', fatal=False))
|
webpage, 'view count', fatal=False))
|
||||||
comment_count = int_or_none(self._html_search_regex(
|
comment_count = int_or_none(self._html_search_regex(
|
||||||
r'(\d+)</b> Comments?',
|
r'(\d+)</b> Comments?',
|
||||||
|
Loading…
Reference in New Issue
Block a user