This commit is contained in:
deathbybandaid 2023-01-06 19:11:09 -05:00
parent e241fa148d
commit a16731419d

View File

@ -102,8 +102,8 @@ def main():
headers = {"content-type": "application/json"}
response = requests.post("%s/api/v2/search-db" % script_settings["tdarr"]["url"], json=payload, headers=headers)
loggit("Tdarr response: %s\n" % response.json())
print(response.json()["DB"])
loggit("Tdarr response: %s\n" % response)
print(response.json()[0]["DB"])
if __name__ == "__main__":