diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-05-24 00:44:34 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-05-24 00:44:34 +0700 |
commit | 4d78f3b77076655501be1f9c0990479a34336824 (patch) | |
tree | 5b12fa9b905cf3ed89ca1b147a8faf61fa9f2615 /youtube_dl/extractor | |
parent | 7f739999e9bc970cbad26d7eef82266b232a66dd (diff) |
[pornhub] Fix uploader extraction
Diffstat (limited to 'youtube_dl/extractor')
-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 7dd3dca0d..4118ee956 100644 --- a/youtube_dl/extractor/pornhub.py +++ b/youtube_dl/extractor/pornhub.py @@ -45,7 +45,7 @@ class PornHubIE(InfoExtractor): video_title = self._html_search_regex(r'<h1 [^>]+>([^<]+)', webpage, 'title') video_uploader = self._html_search_regex( - r'(?s)<div class="video-info-row">\s*From: .+?<(?:a href="/users/|<span class="username)[^>]+>(.+?)<', + r'(?s)From: .+?<(?:a href="/users/|<span class="username)[^>]+>(.+?)<', webpage, 'uploader', fatal=False) thumbnail = self._html_search_regex(r'"image_url":"([^"]+)', webpage, 'thumbnail', fatal=False) if thumbnail: |