X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fvube.py;h=fbdff471afcff7f26c203c8a895217dfb6436b41;hb=d67cc9fa7c1c38fa72ed8990965ef0aeebbdb43a;hp=799f9186cfbc84d857926b4dab5bfe5925c2dd34;hpb=c85e4cf7b42f2867ac5f73890d61bba09392641e;p=youtube-dl diff --git a/youtube_dl/extractor/vube.py b/youtube_dl/extractor/vube.py index 799f9186c..fbdff471a 100644 --- a/youtube_dl/extractor/vube.py +++ b/youtube_dl/extractor/vube.py @@ -1,4 +1,3 @@ -# encoding: utf-8 from __future__ import unicode_literals import re @@ -14,9 +13,10 @@ class VubeIE(InfoExtractor): _TEST = { 'url': 'http://vube.com/Chiara+Grispo+Video+Channel/YL2qNPkqon', - 'file': 'YL2qNPkqon.mp4', 'md5': 'f81dcf6d0448e3291f54380181695821', 'info_dict': { + 'id': 'YL2qNPkqon', + 'ext': 'mp4', 'title': 'Chiara Grispo - Price Tag by Jessie J', 'description': 'md5:8ea652a1f36818352428cb5134933313', 'thumbnail': 'http://frame.thestaticvube.com/snap/228x128/102e7e63057-5ebc-4f5c-4065-6ce4ebde131f.jpg', @@ -46,7 +46,7 @@ class VubeIE(InfoExtractor): self._sort_formats(formats) title = video['title'] - description = video['description'] + description = video.get('description') thumbnail = video['thumbnail_src'] if thumbnail.startswith('//'): thumbnail = 'http:' + thumbnail