Made a few changes. Short term trying os.system to call manga-py instead of embedding it.

This commit is contained in:
2019-12-14 23:04:16 -05:00
parent 45067caea6
commit 15ad8361e9
421 changed files with 8 additions and 17989 deletions

View File

@@ -1,5 +1,9 @@
import sqlalchemy as db
import json
# from manga_py1.parser import Parser
# from manga_py1.info import Info
# from Downloader import my_awesome_handler
import os
def download():
db_URI = 'mysql+pymysql://mdownload:mdownload@192.168.86.198:3306/Downloads'
@@ -32,6 +36,8 @@ def download():
if active[0] != 0:
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 """
os.system(execute)
y = y+1
def upload_jason():