aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/vine.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/vine.py')
-rw-r--r--youtube_dl/extractor/vine.py5
1 files 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'<p class="username">(.*?)</p>',
- 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,