]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[vine] Fix uploader extraction
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 12 Nov 2013 19:50:52 +0000 (20:50 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 12 Nov 2013 19:50:52 +0000 (20:50 +0100)
youtube_dl/extractor/vine.py

index c4ec1f06ffe3ccce17598aeb319047f0890f9a02..651ba317dcd8fffefb2ac938c9f09d5de8356865 100644 (file)
@@ -27,7 +27,7 @@ class VineIE(InfoExtractor):
         video_url = self._html_search_regex(r'<meta property="twitter:player:stream" content="(.+?)"',
             webpage, u'video URL')
 
-        uploader = self._html_search_regex(r'<div class="user">.*?<h2>(.+?)</h2>',
+        uploader = self._html_search_regex(r'<p class="username">(.*?)</p>',
             webpage, u'uploader', fatal=False, flags=re.DOTALL)
 
         return [{