mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-02 18:47:05 -05:00 
			
		
		
		
	[fix] piratebay - cloudfare ssl errors
This commit is contained in:
		
							parent
							
								
									1184f45ca5
								
							
						
					
					
						commit
						e1adf8f7b8
					
				@ -42,6 +42,10 @@ def request(query, params):
 | 
				
			|||||||
                                      search_type=search_type,
 | 
					                                      search_type=search_type,
 | 
				
			||||||
                                      pageno=params['pageno'] - 1)
 | 
					                                      pageno=params['pageno'] - 1)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # FIX: SSLError: hostname 'kthepiratebay.se'
 | 
				
			||||||
 | 
					    # doesn't match either of 'ssl2000.cloudflare.com', 'cloudflare.com', '*.cloudflare.com'
 | 
				
			||||||
 | 
					    params['verify'] = False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return params
 | 
					    return params
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user