[pornhub] Relax uploader regex (closes #13906, closes #13975)

pull/8/head
Sergey M․ 7 years ago
parent 903d4d1625
commit 8d9c2a681a
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -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\b[^>]+\bhref=["\']/(?:user|channel)s/|span\b[^>]+\bclass=["\']username)[^>]+>(.+?)<',
webpage, 'uploader', fatal=False)
view_count = self._extract_count(

Loading…
Cancel
Save