1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 02:12:57 +08:00

pornhub.py

Fixes issue #13906
This commit is contained in:
petercheat 2017-08-21 10:39:37 +10:00 committed by GitHub
parent 903d4d1625
commit 628210b46a

View File

@ -186,7 +186,7 @@ class PornHubIE(InfoExtractor):
title, thumbnail, duration = [None] * 3
video_uploader = self._html_search_regex(
r'(?s)From:&nbsp;.+?<(?:a href="/users/|a href="/channels/|span class="username)[^>]+>(.+?)<',
r'(?s)From:&nbsp;.+?<(?:a.+?href="/users/|a href="/channels/|span class="username)[^>]+>(.+?)<',
webpage, 'uploader', fatal=False)
view_count = self._extract_count(