add video id
This commit is contained in:
parent
337cafcf76
commit
926d3f0f09
1 changed files with 7 additions and 4 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue