Merge pull request #1250 from tiekoetter/fix-mojeek-xpath
[fix] mojeek engine: xpath
This commit is contained in:
		
						commit
						ffffe304ba
					
				@ -1539,10 +1539,10 @@ engines:
 | 
				
			|||||||
    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}
 | 
				
			||||||
    results_xpath: /html/body//div[@class="results"]/ul[@class="results-standard"]/li
 | 
					    results_xpath: //a[@class="ob"]
 | 
				
			||||||
    url_xpath: ./h2/a/@href
 | 
					    url_xpath: ./@href
 | 
				
			||||||
    title_xpath: ./h2
 | 
					    title_xpath: ./..
 | 
				
			||||||
    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: /html/body//div[@class="top-info"]/p[@class="top-info spell"]/a
 | 
				
			||||||
    first_page_num: 0
 | 
					    first_page_num: 0
 | 
				
			||||||
    page_size: 10
 | 
					    page_size: 10
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user