From: Sergey M․ Date: Thu, 19 Feb 2015 16:15:49 +0000 (+0600) Subject: [pornhub] Fix uploader regex X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=8fc642eb5b69f25d0488509c4c4f9d8bfe2b7225;p=youtube-dl [pornhub] Fix uploader regex --- diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.py index 913995044..3a27e3789 100644 --- a/youtube_dl/extractor/pornhub.py +++ b/youtube_dl/extractor/pornhub.py @@ -56,7 +56,7 @@ class PornHubIE(InfoExtractor): video_title = self._html_search_regex(r'

]+>([^<]+)', webpage, 'title') video_uploader = self._html_search_regex( - r'(?s)From: .+?<(?:a href="/users/|a href="/channels/|]+>(.+?)<', webpage, 'uploader', fatal=False) thumbnail = self._html_search_regex(r'"image_url":"([^"]+)', webpage, 'thumbnail', fatal=False) if thumbnail: