diff options
author | JChris246 <43832407+JChris246@users.noreply.github.com> | 2020-09-18 18:59:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-19 05:59:19 +0700 |
commit | 540b9f5164d50eb99d9c988ece6eb6775ccaf94a (patch) | |
tree | 633db544f71a26b62217dc7ee2654f7203d7e4b9 | |
parent | 6e65a2a67e075ae8f3e4fe03c732d7772d36f5e1 (diff) |
[pornhub] Fix view count extraction (#26621) (refs #26614)
-rw-r--r-- | youtube_dl/extractor/pornhub.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.py index 3567a3283..c64c870dc 100644 --- a/youtube_dl/extractor/pornhub.py +++ b/youtube_dl/extractor/pornhub.py @@ -341,7 +341,7 @@ class PornHubIE(PornHubBaseIE): webpage, 'uploader', fatal=False) view_count = self._extract_count( - r'<span class="count">([\d,\.]+)</span> views', webpage, 'view') + r'<span class="count">([\d,\.]+)</span> [Vv]iews', webpage, 'view') like_count = self._extract_count( r'<span class="votesUp">([\d,\.]+)</span>', webpage, 'like') dislike_count = self._extract_count( |