mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
mutliargs: using -A creates bad output names.
using -A creates an directory with the first files name for the second argument which is wrong. fixes #525
This commit is contained in:
parent
6dec190df0
commit
f38e8403a2
@ -164,7 +164,7 @@ def get_multiple_media(urls, options):
|
||||
return
|
||||
|
||||
for url in urls:
|
||||
get_media(url, options)
|
||||
get_media(url, copy.copy(options))
|
||||
|
||||
def get_media(url, options):
|
||||
if "http" not in url[:4]:
|
||||
@ -187,9 +187,9 @@ def get_media(url, options):
|
||||
url = ensure_unicode(url)
|
||||
|
||||
if options.all_episodes:
|
||||
get_all_episodes(stream, options, url)
|
||||
get_all_episodes(stream, copy.copy(options), url)
|
||||
else:
|
||||
get_one_media(stream, options)
|
||||
get_one_media(stream, copy.copy(options))
|
||||
|
||||
|
||||
def get_all_episodes(stream, options, url):
|
||||
|
Loading…
Reference in New Issue
Block a user