Browse Source

[pornhub] Fix view count extraction (#26621) (refs #26614)

master
JChris246 4 years ago
committed by GitHub
parent
commit
540b9f5164
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/pornhub.py

2
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(

Loading…
Cancel
Save