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 = [
'title',
'description',
'webpage_url',
'display_id',
'uploader',
'tags',
'duration',
'width',
'height',
'webpage_url',
'thumbnail',
'ext',
'uploader',
'thumbnail',
'subtitles',
'tags'
]
info_key_map = {
'webpage_url': 'url',
'ext': 'extension',
'display_id': 'id',
}
def get_info(url):