mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-04 03:27:06 -05:00 
			
		
		
		
	Fix XPATH of lobste.rs engine && add timeout
This commit is contained in:
		
							parent
							
								
									da8b227044
								
							
						
					
					
						commit
						ce000a9fef
					
				@ -457,11 +457,13 @@ engines:
 | 
				
			|||||||
    engine : xpath
 | 
					    engine : xpath
 | 
				
			||||||
    search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
 | 
					    search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
 | 
				
			||||||
    results_xpath : //li[contains(@class, "story")]
 | 
					    results_xpath : //li[contains(@class, "story")]
 | 
				
			||||||
    url_xpath : .//span[@class="link"]/a/@href
 | 
					    url_xpath : .//a[@class="u-url"]/@href
 | 
				
			||||||
    title_xpath : .//span[@class="link"]/a
 | 
					    title_xpath : .//a[@class="u-url"]
 | 
				
			||||||
    content_xpath : .//a[@class="domain"]
 | 
					    content_xpath : .//a[@class="domain"]
 | 
				
			||||||
    categories : it
 | 
					    categories : it
 | 
				
			||||||
    shortcut : lo
 | 
					    shortcut : lo
 | 
				
			||||||
 | 
					    timeout : 3.0
 | 
				
			||||||
 | 
					    disabled: True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name : metager
 | 
					  - name : metager
 | 
				
			||||||
    engine : xpath
 | 
					    engine : xpath
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user