mirror of
				https://github.com/taixingyiji/openit.git
				synced 2025-10-31 07:32:15 +00:00 
			
		
		
		
	Update check.py
This commit is contained in:
		| @@ -13,7 +13,7 @@ def check(alive, proxy, apiurl,sema,timeout, testurl): | ||||
|                 response = json.loads(r.text) | ||||
|                 try: | ||||
|                     if response['delay'] > 0: | ||||
|                         r = requests.get(url=apiurl + '/proxies/' + str(proxy['name']) + '/delay?url=https://cachefly.cachefly.net/1mb.test&timeout=' + str(timeout), timeout=15) | ||||
|                         r = requests.get(url=apiurl + '/proxies/' + str(proxy['name']) + '/delay?url=https://cachefly.cachefly.net/10mb.test&timeout=' + str(timeout), timeout=15) | ||||
|                         response = json.loads(r.text) | ||||
|                         try: | ||||
|                             if response['delay'] > 0: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user