mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
commit
b9e0747ab0
6 changed files with 52 additions and 7 deletions
|
@ -13,7 +13,14 @@ from core.utils import (
|
||||||
requests.packages.urllib3.disable_warnings()
|
requests.packages.urllib3.disable_warnings()
|
||||||
|
|
||||||
|
|
||||||
def process(section, dir_name, input_name=None, status=0, client_agent='manual', input_category=None):
|
def process(
|
||||||
|
section,
|
||||||
|
dir_name,
|
||||||
|
input_name=None,
|
||||||
|
status=0,
|
||||||
|
client_agent='manual',
|
||||||
|
input_category=None,
|
||||||
|
) -> ProcessResult:
|
||||||
status = int(status)
|
status = int(status)
|
||||||
|
|
||||||
cfg = dict(core.CFG[section][input_category])
|
cfg = dict(core.CFG[section][input_category])
|
||||||
|
|
|
@ -10,7 +10,14 @@ from core.utils import convert_to_ascii, remote_dir, server_responding
|
||||||
requests.packages.urllib3.disable_warnings()
|
requests.packages.urllib3.disable_warnings()
|
||||||
|
|
||||||
|
|
||||||
def process(section, dir_name, input_name=None, status=0, client_agent='manual', input_category=None):
|
def process(
|
||||||
|
section,
|
||||||
|
dir_name,
|
||||||
|
input_name=None,
|
||||||
|
status=0,
|
||||||
|
client_agent='manual',
|
||||||
|
input_category=None,
|
||||||
|
) -> ProcessResult:
|
||||||
apc_version = '2.04'
|
apc_version = '2.04'
|
||||||
comicrn_version = '1.01'
|
comicrn_version = '1.01'
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,14 @@ from core.utils import convert_to_ascii, server_responding
|
||||||
requests.packages.urllib3.disable_warnings()
|
requests.packages.urllib3.disable_warnings()
|
||||||
|
|
||||||
|
|
||||||
def process(section, dir_name, input_name=None, status=0, client_agent='manual', input_category=None):
|
def process(
|
||||||
|
section,
|
||||||
|
dir_name,
|
||||||
|
input_name=None,
|
||||||
|
status=0,
|
||||||
|
client_agent='manual',
|
||||||
|
input_category=None,
|
||||||
|
) -> ProcessResult:
|
||||||
status = int(status)
|
status = int(status)
|
||||||
|
|
||||||
cfg = dict(core.CFG[section][input_category])
|
cfg = dict(core.CFG[section][input_category])
|
||||||
|
|
|
@ -27,8 +27,16 @@ from core.utils import (
|
||||||
requests.packages.urllib3.disable_warnings()
|
requests.packages.urllib3.disable_warnings()
|
||||||
|
|
||||||
|
|
||||||
def process(section, dir_name, input_name=None, status=0, client_agent='manual', download_id='', input_category=None, failure_link=None):
|
def process(
|
||||||
|
section,
|
||||||
|
dir_name,
|
||||||
|
input_name=None,
|
||||||
|
status=0,
|
||||||
|
client_agent='manual',
|
||||||
|
download_id='',
|
||||||
|
input_category=None,
|
||||||
|
failure_link=None,
|
||||||
|
) -> ProcessResult:
|
||||||
cfg = dict(core.CFG[section][input_category])
|
cfg = dict(core.CFG[section][input_category])
|
||||||
|
|
||||||
host = cfg['host']
|
host = cfg['host']
|
||||||
|
|
|
@ -13,7 +13,14 @@ from core.utils import convert_to_ascii, list_media_files, remote_dir, remove_di
|
||||||
requests.packages.urllib3.disable_warnings()
|
requests.packages.urllib3.disable_warnings()
|
||||||
|
|
||||||
|
|
||||||
def process(section, dir_name, input_name=None, status=0, client_agent='manual', input_category=None):
|
def process(
|
||||||
|
section,
|
||||||
|
dir_name,
|
||||||
|
input_name=None,
|
||||||
|
status=0,
|
||||||
|
client_agent='manual',
|
||||||
|
input_category=None,
|
||||||
|
) -> ProcessResult:
|
||||||
status = int(status)
|
status = int(status)
|
||||||
|
|
||||||
cfg = dict(core.CFG[section][input_category])
|
cfg = dict(core.CFG[section][input_category])
|
||||||
|
|
|
@ -32,7 +32,16 @@ from core.utils import (
|
||||||
requests.packages.urllib3.disable_warnings()
|
requests.packages.urllib3.disable_warnings()
|
||||||
|
|
||||||
|
|
||||||
def process(section, dir_name, input_name=None, failed=False, client_agent='manual', download_id=None, input_category=None, failure_link=None):
|
def process(
|
||||||
|
section,
|
||||||
|
dir_name,
|
||||||
|
input_name=None,
|
||||||
|
failed=False,
|
||||||
|
client_agent='manual',
|
||||||
|
download_id=None,
|
||||||
|
input_category=None,
|
||||||
|
failure_link=None,
|
||||||
|
) -> ProcessResult:
|
||||||
cfg = dict(core.CFG[section][input_category])
|
cfg = dict(core.CFG[section][input_category])
|
||||||
|
|
||||||
host = cfg['host']
|
host = cfg['host']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue