keep import url

This commit is contained in:
j 2016-08-30 18:54:34 +02:00
parent 4d9e8a788a
commit fc6cc93d26
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ def download(item_id, url):
f.item = item
f.info = ox.avinfo(f.data.path)
f.info['extension'] = media['extension']
f.info['url'] = url
f.path = '%(title)s.%(extension)s' % media
f.parse_info()
f.selected = True