|
@@ -75,7 +75,7 @@ print(d)
|
|
|
with open('../designers/lists/json/designers_lists_data.json','w+',encoding="utf-8") as f:
|
|
|
json.dump(d, f)
|
|
|
|
|
|
-cmd="""curl -X POST "https://api.cloudflare.com/client/v4/zones/8cb58022ad5743cfd9f088d5e3a261eb/purge_cache" -H "X-Auth-Email: web.dept.hhh@gmail.com" -H "X-Auth-Key:63e51d9a1638d66afcbfc3320aabec52304de" -H "Content-Type: application/json" --data '{"files":["https://hhh.com.tw/hhh-test/json/designers_lists_data.json"]}'"""
|
|
|
+cmd="""curl -X POST "https://api.cloudflare.com/client/v4/zones/8cb58022ad5743cfd9f088d5e3a261eb/purge_cache" -H "X-Auth-Email: web.dept.hhh@gmail.com" -H "X-Auth-Key:63e51d9a1638d66afcbfc3320aabec52304de" -H "Content-Type: application/json" --data '{"files":["https://hhh.com.tw/hhh-test/designers/lists/json/designers_lists_data.json"]}'"""
|
|
|
print(cmd)
|
|
|
os.system(cmd)
|
|
|
#if str(j)=='5':
|