mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-03 19:17:07 -05:00 
			
		
		
		
	Merge pull request #2090 from Milad-Laly/bugfix/mojeek_parsing
[fix] Mojeek Xpath showing suggestions and searches + add lang support
This commit is contained in:
		
						commit
						a90ed481ed
					
				@ -1706,12 +1706,12 @@ engines:
 | 
				
			|||||||
    engine: xpath
 | 
					    engine: xpath
 | 
				
			||||||
    paging: true
 | 
					    paging: true
 | 
				
			||||||
    categories: [general, web]
 | 
					    categories: [general, web]
 | 
				
			||||||
    search_url: https://www.mojeek.com/search?q={query}&s={pageno}
 | 
					    search_url: https://www.mojeek.com/search?q={query}&s={pageno}&lang={lang}&lb={lang}
 | 
				
			||||||
    results_xpath: //a[@class="ob"]
 | 
					    results_xpath: //ul[@class="results-standard"]/li/a[@class="ob"]
 | 
				
			||||||
    url_xpath: ./@href
 | 
					    url_xpath: ./@href
 | 
				
			||||||
    title_xpath: ./h2
 | 
					    title_xpath: ../h2/a
 | 
				
			||||||
    content_xpath: ../p[@class="s"]
 | 
					    content_xpath: ..//p[@class="s"]
 | 
				
			||||||
    suggestion_xpath: /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
 | 
					    suggestion_xpath: //div[@class="top-info"]/p[@class="top-info spell"]/em/a
 | 
				
			||||||
    first_page_num: 0
 | 
					    first_page_num: 0
 | 
				
			||||||
    page_size: 10
 | 
					    page_size: 10
 | 
				
			||||||
    disabled: true
 | 
					    disabled: true
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user