forked from 0x2620/pandora
no need to use full title for tmp files
This commit is contained in:
parent
08dc8f2bea
commit
a9f883859a
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ def download(item_id, url, referer=None):
|
||||||
cmd += ['--referer', referer]
|
cmd += ['--referer', referer]
|
||||||
elif 'referer' in media:
|
elif 'referer' in media:
|
||||||
cmd += ['--referer', media['referer']]
|
cmd += ['--referer', media['referer']]
|
||||||
|
cmd += ['-o', '%(title)80s.%(ext)s']
|
||||||
|
|
||||||
if settings.CONFIG['video'].get('reuseUpload', False):
|
if settings.CONFIG['video'].get('reuseUpload', False):
|
||||||
max_resolution = max(settings.CONFIG['video']['resolutions'])
|
max_resolution = max(settings.CONFIG['video']['resolutions'])
|
||||||
|
|
Loading…
Reference in a new issue