mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-28 06:04:17 +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
|
return
|
||||||
|
|
||||||
for url in urls:
|
for url in urls:
|
||||||
get_media(url, options)
|
get_media(url, copy.copy(options))
|
||||||
|
|
||||||
def get_media(url, options):
|
def get_media(url, options):
|
||||||
if "http" not in url[:4]:
|
if "http" not in url[:4]:
|
||||||
@ -187,9 +187,9 @@ def get_media(url, options):
|
|||||||
url = ensure_unicode(url)
|
url = ensure_unicode(url)
|
||||||
|
|
||||||
if options.all_episodes:
|
if options.all_episodes:
|
||||||
get_all_episodes(stream, options, url)
|
get_all_episodes(stream, copy.copy(options), url)
|
||||||
else:
|
else:
|
||||||
get_one_media(stream, options)
|
get_one_media(stream, copy.copy(options))
|
||||||
|
|
||||||
|
|
||||||
def get_all_episodes(stream, options, url):
|
def get_all_episodes(stream, options, url):
|
||||||
|
Loading…
Reference in New Issue
Block a user