test
This commit is contained in:
parent
e241fa148d
commit
a16731419d
@ -102,8 +102,8 @@ def main():
|
|||||||
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.json())
|
loggit("Tdarr response: %s\n" % response)
|
||||||
print(response.json()["DB"])
|
print(response.json()[0]["DB"])
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user