Disable certificate verification for relaxed SSL.
This commit is contained in:
		
							parent
							
								
									5c263c7ef7
								
							
						
					
					
						commit
						52ecfedbfc
					
				| 
						 | 
				
			
			@ -13,4 +13,4 @@ class HTTPSAdapter(HTTPAdapter):
 | 
			
		|||
def get(*args, **kwargs):
 | 
			
		||||
    s = requests.Session()
 | 
			
		||||
    s.mount('https://', HTTPSAdapter())
 | 
			
		||||
    return s.get(*args, **kwargs)
 | 
			
		||||
    return s.get(*args, **kwargs, verify=False)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue