aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/sunporno.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/sunporno.py')
-rw-r--r--youtube_dl/extractor/sunporno.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/sunporno.py b/youtube_dl/extractor/sunporno.py
index 854d01bee..e527aa971 100644
--- a/youtube_dl/extractor/sunporno.py
+++ b/youtube_dl/extractor/sunporno.py
@@ -44,7 +44,7 @@ class SunPornoIE(InfoExtractor):
webpage, 'duration', fatal=False))
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))
comment_count = int_or_none(self._html_search_regex(
r'(\d+)</b> Comments?',