mirror of
https://github.com/taixingyiji/openit.git
synced 2026-10-20 09:27:41 +00:00
Update main.py
This commit is contained in:
1 parent
69ecc1e072
commit
7f6702bf4b
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user