mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	fix xpath of yandex
This commit is contained in:
		
							parent
							
								
									85f363774c
								
							
						
					
					
						commit
						553f3a3a1a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -29,10 +29,10 @@ language_map = {'ru': 'ru', | |||
| base_url = 'https://yandex.{tld}/' | ||||
| search_url = 'search/?{query}&p={page}' | ||||
| 
 | ||||
| results_xpath = '//div[@class="serp-item serp-item_plain_yes clearfix i-bem"]' | ||||
| results_xpath = '//li[@class="serp-item"]' | ||||
| url_xpath = './/h2/a/@href' | ||||
| title_xpath = './/h2/a//text()' | ||||
| content_xpath = './/div[@class="serp-item__text"]//text()' | ||||
| content_xpath = './/div[@class="text-container typo typo_text_m typo_line_m organic__text"]//text()' | ||||
| 
 | ||||
| 
 | ||||
| def request(query, params): | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Noémi Ványi
						Noémi Ványi