aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/vine.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-12-12 03:34:28 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-12-12 03:34:28 +0100
commitf5e43bc695947989d5d563f53135fb8fcfcd4081 (patch)
tree7c1aba17b1f7c5e29a8d9b39222dae93d064819f /youtube_dl/extractor/vine.py
parent6a5308ab499ef656fca65b6f22fd02c47486d94e (diff)
[vine] Provide alt_title (Fixes #4448)
Diffstat (limited to 'youtube_dl/extractor/vine.py')
-rw-r--r--youtube_dl/extractor/vine.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/vine.py b/youtube_dl/extractor/vine.py
index ef3dadeb5..0b58fe0fe 100644
--- a/youtube_dl/extractor/vine.py
+++ b/youtube_dl/extractor/vine.py
@@ -17,6 +17,7 @@ class VineIE(InfoExtractor):
'id': 'b9KOOWX7HUx',
'ext': 'mp4',
'title': 'Chicken.',
+ 'alt_title': 'Vine by Jack Dorsey',
'description': 'Chicken.',
'upload_date': '20130519',
'uploader': 'Jack Dorsey',
@@ -44,6 +45,7 @@ class VineIE(InfoExtractor):
return {
'id': video_id,
'title': self._og_search_title(webpage),
+ 'alt_title': self._og_search_description(webpage),
'description': data['description'],
'thumbnail': data['thumbnailUrl'],
'upload_date': unified_strdate(data['created']),