add video id

This commit is contained in:
j 2016-08-09 11:50:24 +01:00
parent 337cafcf76
commit 926d3f0f09

View file

@ -19,20 +19,23 @@ import models
info_keys = [ info_keys = [
'title', 'title',
'description', 'description',
'webpage_url',
'display_id',
'uploader',
'tags',
'duration', 'duration',
'width', 'width',
'height', 'height',
'webpage_url',
'thumbnail',
'ext', 'ext',
'uploader', 'thumbnail',
'subtitles', 'subtitles',
'tags'
] ]
info_key_map = { info_key_map = {
'webpage_url': 'url', 'webpage_url': 'url',
'ext': 'extension', 'ext': 'extension',
'display_id': 'id',
} }
def get_info(url): def get_info(url):