Update main.py

This commit is contained in:
Yu Steven authored and GitHub committed 2022-07-18 17:59:41 +08:00
1 parent 69ecc1e072
commit 7f6702bf4b
1 file changed
+1 -1
+1 -1
View File
@@ -21,7 +21,7 @@ def fetch(proxy_list, filename):
def url(proxy_list, link):
try:
data_out=[]
working = yaml.safe_load(requests.get(url=link,timeout=30, headers=headers).text)
working = yaml.safe_load(requests.get(url=link, timeout=30, headers=headers).text)
for x in working['proxies']:
data_out.append(x)
proxy_list.append(data_out)