forked from zaclys/searxng
		
	Update network.py
This commit is contained in:
		
							parent
							
								
									2dc5c0e1d6
								
							
						
					
					
						commit
						1517724615
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -173,7 +173,7 @@ class Network:
 | 
			
		|||
            ):
 | 
			
		||||
                continue
 | 
			
		||||
            return False
 | 
			
		||||
        response = await client.get("https://check.torproject.org/api/ip", timeout=10)
 | 
			
		||||
        response = await client.get("https://check.torproject.org/api/ip", timeout=60)
 | 
			
		||||
        if not response.json()["IsTor"]:
 | 
			
		||||
            result = False
 | 
			
		||||
        Network._TOR_CHECK_RESULT[proxies] = result
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue