test
This commit is contained in:
parent
f13d1bc2d7
commit
4d17b1713d
@ -56,7 +56,7 @@ def do_file_search(arr_file_path):
|
|||||||
}
|
}
|
||||||
headers = {"content-type": "application/json"}
|
headers = {"content-type": "application/json"}
|
||||||
response = requests.post("%s/api/v2/search-db" % script_settings["tdarr"]["url"], json=payload, headers=headers)
|
response = requests.post("%s/api/v2/search-db" % script_settings["tdarr"]["url"], json=payload, headers=headers)
|
||||||
loggit("Tdarr response: %s\n" % response)
|
loggit("Tdarr response: %s\n" % response.text)
|
||||||
try:
|
try:
|
||||||
response_json = response.json()
|
response_json = response.json()
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user