From: Jaime Marquínez Ferrándiz Date: Sun, 23 Feb 2014 11:08:30 +0000 (+0100) Subject: [vine] Fix uploader extraction X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=78b373975d21f9573c1b32c53aa3c05ab4a490f2;p=youtube-dl [vine] Fix uploader extraction --- diff --git a/youtube_dl/extractor/vine.py b/youtube_dl/extractor/vine.py index e14ff91d4..a919129a6 100644 --- a/youtube_dl/extractor/vine.py +++ b/youtube_dl/extractor/vine.py @@ -30,8 +30,9 @@ class VineIE(InfoExtractor): video_url = self._html_search_meta('twitter:player:stream', webpage, 'video URL') - uploader = self._html_search_regex(r'

(.*?)

', - webpage, 'uploader', fatal=False, flags=re.DOTALL) + twitter_title = self._html_search_meta('twitter:title', webpage, + 'twitter title') + uploader = re.sub('\'s post on Vine', '', twitter_title) return { 'id': video_id,