try smth on devrama

master
Aevann 2024-01-12 13:22:54 +02:00
parent 9ce6764b90
commit 75ef9279d9
1 changed files with 3 additions and 0 deletions

View File

@ -35,3 +35,6 @@ def purge_files_in_cloudflare_cache(files):
except:
return False
return res == "<Response [200]>"
x = requests.get(f"{CLOUDFLARE_API_URL}/zones/{CF_ZONE}/settings/security_level", headers=CF_HEADERS, timeout=CLOUDFLARE_REQUEST_TIMEOUT_SECS).json()
print(x)