From 628210b46a357b80063581568f85d697dc30c1f5 Mon Sep 17 00:00:00 2001 From: petercheat <31194518+petercheat@users.noreply.github.com> Date: Mon, 21 Aug 2017 10:39:37 +1000 Subject: [PATCH] pornhub.py Fixes issue #13906 --- youtube_dl/extractor/pornhub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.py index f6777cd26..60cd38008 100644 --- a/youtube_dl/extractor/pornhub.py +++ b/youtube_dl/extractor/pornhub.py @@ -186,7 +186,7 @@ class PornHubIE(InfoExtractor): title, thumbnail, duration = [None] * 3 video_uploader = self._html_search_regex( - r'(?s)From: .+?<(?:a href="/users/|a href="/channels/|span class="username)[^>]+>(.+?)<', + r'(?s)From: .+?<(?:a.+?href="/users/|a href="/channels/|span class="username)[^>]+>(.+?)<', webpage, 'uploader', fatal=False) view_count = self._extract_count(