diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-02-19 22:15:49 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-02-19 22:15:49 +0600 |
commit | 8fc642eb5b69f25d0488509c4c4f9d8bfe2b7225 (patch) | |
tree | 2d1578dde123675f9a61eddbd6b59a9a332f874f /youtube_dl/extractor/pornhub.py | |
parent | e66e1a0046ca804461c4c9c3e890165ec9d865e1 (diff) |
[pornhub] Fix uploader regex
Diffstat (limited to 'youtube_dl/extractor/pornhub.py')
-rw-r--r-- | youtube_dl/extractor/pornhub.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'<h1 [^>]+>([^<]+)', webpage, 'title') 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) thumbnail = self._html_search_regex(r'"image_url":"([^"]+)', webpage, 'thumbnail', fatal=False) if thumbnail: |