Browse Source

[vine] Fix uploader extraction

rtmp_test
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
8b8cbd8f6d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/vine.py

+ 1
- 1
youtube_dl/extractor/vine.py View File

@ -27,7 +27,7 @@ class VineIE(InfoExtractor):
video_url = self._html_search_regex(r'<meta property="twitter:player:stream" content="(.+?)"', video_url = self._html_search_regex(r'<meta property="twitter:player:stream" content="(.+?)"',
webpage, u'video URL') 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) webpage, u'uploader', fatal=False, flags=re.DOTALL)
return [{ return [{


Loading…
Cancel
Save