include upload_date

This commit is contained in:
j 2016-08-05 17:57:40 +02:00
commit 9a86ddce01
2 changed files with 3 additions and 0 deletions

View file

@ -52,6 +52,8 @@ def get_info(url):
for k in info_keys
if k in i and i[k]
})
if 'upload_date' in i:
info[-1]['date'] = '-'.join([i['upload_date'][:4], i['upload_date'][4:6], i['upload_date'][6:]])
return info
def add_subtitles(item, media, tmp):