From: JChris246 <43832407+JChris246@users.noreply.github.com> Date: Fri, 18 Sep 2020 22:59:19 +0000 (-0400) Subject: [pornhub] Fix view count extraction (#26621) (refs #26614) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=540b9f5164d50eb99d9c988ece6eb6775ccaf94a;p=youtube-dl [pornhub] Fix view count extraction (#26621) (refs #26614) --- 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'([\d,\.]+) views', webpage, 'view') + r'([\d,\.]+) [Vv]iews', webpage, 'view') like_count = self._extract_count( r'([\d,\.]+)', webpage, 'like') dislike_count = self._extract_count(