Merge pull request #2898 from allendema/ask.com

[enh] Add ask.com engine
This commit is contained in:
Noémi Ványi 2021-08-02 20:12:49 +02:00 committed by GitHub
commit bb724cabf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -1355,6 +1355,26 @@ engines:
require_api_key: false
results: html
- name : ask
shortcut : ask
engine : xpath
timeout : 3.0
disabled : True
categories : general
paging : True
page_size : 10
search_url : https://www.ask.com/web?q={query}&qo=pagination&page={pageno}
title_xpath : //a[@class="PartialSearchResults-item-title-link result-link"]
url_xpath : //a[@class="PartialSearchResults-item-title-link result-link"]/@href
content_xpath : //p[@class="PartialSearchResults-item-abstract"]
suggestion_xpath : //span[@class="PartialRelatedSearch-item-link-text"]
about:
website: https://ask.com
wikidata_id : Q847564
use_official_api: false
require_api_key: false
results: HTML
- name : naver
shortcut: nvr
engine: xpath