mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	add pub.dev engine
This commit is contained in:
		
							parent
							
								
									d7a76f3772
								
							
						
					
					
						commit
						e9cc6ab0e7
					
				
					 1 changed files with 20 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1091,6 +1091,26 @@ engines:
 | 
			
		|||
  #    query_str: 'SELECT * from my_table WHERE my_column = %(query)s'
 | 
			
		||||
  #    shortcut : psql
 | 
			
		||||
 | 
			
		||||
  - name: pub.dev
 | 
			
		||||
    engine: xpath
 | 
			
		||||
    shortcut: pd
 | 
			
		||||
    search_url: https://pub.dev/packages?q={query}&page={pageno}
 | 
			
		||||
    paging: true
 | 
			
		||||
    results_xpath: /html/body/main/div/div[@class="search-results"]/div[@class="packages"]/div
 | 
			
		||||
    url_xpath: ./div/h3/a/@href
 | 
			
		||||
    title_xpath: ./div/h3/a
 | 
			
		||||
    content_xpath: ./p[@class="packages-description"]
 | 
			
		||||
    categories: [packages, it]
 | 
			
		||||
    timeout: 3.0
 | 
			
		||||
    disabled: true
 | 
			
		||||
    first_page_num: 1
 | 
			
		||||
    about:
 | 
			
		||||
      website: https://pub.dev/
 | 
			
		||||
      official_api_documentation: https://pub.dev/help/api
 | 
			
		||||
      use_official_api: false
 | 
			
		||||
      require_api_key: false
 | 
			
		||||
      results: HTML
 | 
			
		||||
 | 
			
		||||
  - name: pubmed
 | 
			
		||||
    engine: pubmed
 | 
			
		||||
    shortcut: pub
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue