Update cloudflare-ddns.py
Fix to make the script working again.
This commit is contained in:
parent
216a5f402c
commit
c4ac817100
@ -48,7 +48,7 @@ def commitRecord(ip):
|
|||||||
"proxied": c["proxied"]
|
"proxied": c["proxied"]
|
||||||
}
|
}
|
||||||
list = cf_api(
|
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
|
full_subdomain = base_domain_name
|
||||||
if subdomain:
|
if subdomain:
|
||||||
|
|||||||
Reference in New Issue
Block a user