1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 21:43:00 +08:00

[vine] Fix uploader extraction

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-11-12 20:50:52 +01:00
parent 72b18c5d34
commit 8b8cbd8f6d

View 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 [{