mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-03 19:17:07 -05:00 
			
		
		
		
	Merge pull request #753 from kvch/lobsters-engine
add lobste.rs xpath engine
This commit is contained in:
		
						commit
						6c7c6ba695
					
				@ -313,6 +313,16 @@ engines:
 | 
				
			|||||||
    timeout : 4.0
 | 
					    timeout : 4.0
 | 
				
			||||||
    disabled : True
 | 
					    disabled : True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - name : lobste.rs
 | 
				
			||||||
 | 
					    engine : xpath
 | 
				
			||||||
 | 
					    search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
 | 
				
			||||||
 | 
					    results_xpath : //li[contains(@class, "story")]
 | 
				
			||||||
 | 
					    url_xpath : .//span[@class="link"]/a/@href
 | 
				
			||||||
 | 
					    title_xpath : .//span[@class="link"]/a
 | 
				
			||||||
 | 
					    content_xpath : .//a[@class="domain"]
 | 
				
			||||||
 | 
					    categories : it
 | 
				
			||||||
 | 
					    shortcut : lo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name : microsoft academic
 | 
					  - name : microsoft academic
 | 
				
			||||||
    engine : json_engine
 | 
					    engine : json_engine
 | 
				
			||||||
    paging : True
 | 
					    paging : True
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user