From 408f061bbb6a5d4a6cfd6685317e6c172280511c Mon Sep 17 00:00:00 2001 From: Amolith Date: Sun, 10 Oct 2021 14:14:59 -0400 Subject: [PATCH] remove proxies script --- py/proxies.py | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 py/proxies.py diff --git a/py/proxies.py b/py/proxies.py deleted file mode 100644 index 859809b9e67847cab95917635fd1d54b25323d6f..0000000000000000000000000000000000000000 --- a/py/proxies.py +++ /dev/null @@ -1,24 +0,0 @@ -import json - -with open('json/proxies.json') as f: - x = json.load(f) - -text = "" -for i in x["cards"]: - text += f""" -
-

{i["name"]}

-

{i["description"]}

- - """ - if i["tor"] != "#": - text += f'' - - text += "
" - -with open('_site/proxies/index.html') as f: - y = f.read() - -y = y.replace('', text) -with open('_site/proxies/index.html', 'w') as f: - f.write(y)