mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-03 19:17:07 -05:00 
			
		
		
		
	[fix] brave fetch_traits: layout of the settings page has changed
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
		
							parent
							
								
									39ffec87b7
								
							
						
					
					
						commit
						0f9926b89a
					
				@ -426,7 +426,7 @@ def fetch_traits(engine_traits: EngineTraits):
 | 
			
		||||
        print("ERROR: response from Brave is not OK.")
 | 
			
		||||
    dom = html.fromstring(resp.text)  # type: ignore
 | 
			
		||||
 | 
			
		||||
    for option in dom.xpath('//div[@id="language-select"]//option'):
 | 
			
		||||
    for option in dom.xpath('//section//option[@value="en-us"]/../option'):
 | 
			
		||||
 | 
			
		||||
        ui_lang = option.get('value')
 | 
			
		||||
        try:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user