Updated execute to handle new volume name argument. Updated Path to default to osx Volume Path.
This commit is contained in:
4
main.py
4
main.py
@@ -22,7 +22,7 @@ def download():
|
|||||||
url = []
|
url = []
|
||||||
base = []
|
base = []
|
||||||
name = []
|
name = []
|
||||||
PATH = 'Manga/'
|
PATH = '/Volumes/Manga'
|
||||||
# PATH = 'smb://MediaServer._smb._tcp.local/Downloads/Manga/'
|
# PATH = 'smb://MediaServer._smb._tcp.local/Downloads/Manga/'
|
||||||
for x in result:
|
for x in result:
|
||||||
# print(result[y][0])
|
# print(result[y][0])
|
||||||
@@ -40,7 +40,7 @@ def download():
|
|||||||
|
|
||||||
if active[0] != 0:
|
if active[0] != 0:
|
||||||
print("""manga-py """ + base[y]+url[y] + """ -n \"""" + name[y] + """\" -d \"""" + PATH + """\" -z -g """)
|
print("""manga-py """ + base[y]+url[y] + """ -n \"""" + name[y] + """\" -d \"""" + PATH + """\" -z -g """)
|
||||||
execute = """manga-py """ + base[y]+url[y] + """ -n \"""" + name[y] + """\" -d \"""" + PATH + """\" -z -g """
|
execute = """manga-py """ + base[y]+url[y] + """ -n \"""" + name[y] + """\" -d \"""" + PATH + """\" -z -N """
|
||||||
os.system(execute)
|
os.system(execute)
|
||||||
y = y+1
|
y = y+1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user