From 78b373975d21f9573c1b32c53aa3c05ab4a490f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Sun, 23 Feb 2014 12:08:30 +0100 Subject: [PATCH] [vine] Fix uploader extraction --- youtube_dl/extractor/vine.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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, -- 2.22.2