keep import url

This commit is contained in:
j 2016-08-30 18:54:34 +02:00
parent 4d9e8a788a
commit fc6cc93d26

View file

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