add debug in scrapinglib

This commit is contained in:
Mathhew
2022-09-16 15:30:01 +08:00
parent 8446489b68
commit 890b934fe9
2 changed files with 11 additions and 11 deletions

View File

@@ -55,7 +55,8 @@ def get_data_from_json(file_number, oCC, specified_source, specified_url):
json_data = search(file_number, sources, proxies=proxies, verify=cacert,
dbsite=javdb_site, dbcookies=javdb_cookies,
morestoryline=conf.is_storyline(),
specifiedSource=specified_source, specifiedUrl=specified_url)
specifiedSource=specified_source, specifiedUrl=specified_url,
debug = conf.debug())
# Return if data not found in all sources
if not json_data:
print('[-]Movie Number not found!')