mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[fix] emojipedia - update XPath to be relative
This commit is contained in:
		
							parent
							
								
									3ff576ea72
								
							
						
					
					
						commit
						2516e21c58
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -47,7 +47,7 @@ def response(resp): | |||
| 
 | ||||
|     dom = html.fromstring(resp.text) | ||||
| 
 | ||||
|     for result in eval_xpath_list(dom, "/html/body/div[2]/div[1]/ol/li"): | ||||
|     for result in eval_xpath_list(dom, "//ol[@class='search-results']/li"): | ||||
| 
 | ||||
|         extracted_desc = extract_text(eval_xpath_getindex(result, './/p', 0)) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 james-still
						james-still