change host for func get_javlib_cookie

This commit is contained in:
yoshiko2
2021-04-22 02:50:39 +08:00
parent bac1b05263
commit 98c8585327

View File

@@ -113,12 +113,12 @@ def get_javlib_cookie() -> [dict, str]:
try:
if switch == 1 or switch == '1':
raw_cookie, user_agent = cloudscraper.get_cookie_string(
"http://www.m45e.com/",
"http://www.javlibrary.com/",
proxies=proxies
)
else:
raw_cookie, user_agent = cloudscraper.get_cookie_string(
"http://www.m45e.com/"
"http://www.javlibrary.com/"
)
except requests.exceptions.ProxyError:
print("[-] ProxyError, retry {}/{}".format(i+1, retry_count))