Update cloudflare-ddns.py

Fix to make the script working again.
This commit is contained in:
Sanderluc5 2020-05-01 07:18:29 +02:00 committed by GitHub
parent 216a5f402c
commit c4ac817100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ def commitRecord(ip):
"proxied": c["proxied"]
}
list = cf_api(
"zones/" + c['zone_id'] + "/dns_records&per_page=100?type=" + ip["type"], "GET", c)
"zones/" + c['zone_id'] + "/dns_records?per_page=100&type=" + ip["type"], "GET", c)
full_subdomain = base_domain_name
if subdomain: