]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[pornhub] Fix uploader extraction
authorSergey M․ <dstftw@gmail.com>
Fri, 23 May 2014 17:44:34 +0000 (00:44 +0700)
committerSergey M․ <dstftw@gmail.com>
Fri, 23 May 2014 17:44:34 +0000 (00:44 +0700)
youtube_dl/extractor/pornhub.py

index 7dd3dca0de94f41bb82c9baeacc45e5ab14ae0a2..4118ee9560e03d2fa1eea171766ef4893e274aa5 100644 (file)
@@ -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:&nbsp;.+?<(?:a href="/users/|<span class="username)[^>]+>(.+?)<',
+            r'(?s)From:&nbsp;.+?<(?:a href="/users/|<span class="username)[^>]+>(.+?)<',
             webpage, 'uploader', fatal=False)
         thumbnail = self._html_search_regex(r'"image_url":"([^"]+)', webpage, 'thumbnail', fatal=False)
         if thumbnail: