1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-02-01 03:43:04 +00:00

Add verify=False for the test_url route

This commit is contained in:
kidburglar 2019-01-05 15:08:56 +01:00
parent db16f7df4b
commit 83237af9ce

View file

@ -1736,7 +1736,7 @@ def api_history():
def test_url(protocol, url): def test_url(protocol, url):
url = urllib.unquote(url) url = urllib.unquote(url)
try: try:
result = requests.get(protocol + "://" + url, allow_redirects=False).json()['version'] result = requests.get(protocol + "://" + url, allow_redirects=False, verify=False).json()['version']
except: except:
return dict(status=False) return dict(status=False)
else: else: