mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[enh] Add Packagist search engine (JSON)
Packagist's API: https://packagist.org/apidoc
This commit is contained in:
		
							parent
							
								
									1e942435be
								
							
						
					
					
						commit
						2b3687780c
					
				
					 1 changed files with 20 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -938,6 +938,26 @@ engines:
 | 
			
		|||
      require_api_key: false
 | 
			
		||||
      results: HTML
 | 
			
		||||
 | 
			
		||||
  - name: packagist
 | 
			
		||||
    engine: json_engine
 | 
			
		||||
    paging: true
 | 
			
		||||
    search_url: https://packagist.org/search.json?q={query}&page={pageno}
 | 
			
		||||
    results_query: results
 | 
			
		||||
    url_query: url
 | 
			
		||||
    title_query: name
 | 
			
		||||
    content_query: description
 | 
			
		||||
    categories: it
 | 
			
		||||
    disabled: true
 | 
			
		||||
    timeout: 5.0
 | 
			
		||||
    shortcut: pack
 | 
			
		||||
    about:
 | 
			
		||||
      website: https://packagist.org
 | 
			
		||||
      wikidata_id: Q108311377
 | 
			
		||||
      official_api_documentation: https://packagist.org/apidoc
 | 
			
		||||
      use_official_api: true
 | 
			
		||||
      require_api_key: false
 | 
			
		||||
      results: JSON
 | 
			
		||||
 | 
			
		||||
  - name: pdbe
 | 
			
		||||
    engine: pdbe
 | 
			
		||||
    shortcut: pdb
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue