[enh] engine shortcuts

This commit is contained in:
asciimoo 2014-01-31 16:05:50 +01:00
parent b57258f98b
commit af6e90009f
1 changed files with 21 additions and 0 deletions

View File

@ -10,60 +10,75 @@ engines:
engine : wikipedia engine : wikipedia
number_of_results : 1 number_of_results : 1
paging : False paging : False
shortcut : wi
- name : bing - name : bing
engine : bing engine : bing
locale : en-US locale : en-US
shortcut : bi
- name : currency - name : currency
engine : currency_convert engine : currency_convert
categories : general categories : general
shortcut : cc
- name : deviantart - name : deviantart
engine : deviantart engine : deviantart
categories : images categories : images
shortcut : da
- name : ddg definitions - name : ddg definitions
engine : duckduckgo_definitions engine : duckduckgo_definitions
shortcut : ddd
- name : duckduckgo - name : duckduckgo
engine : duckduckgo engine : duckduckgo
locale : en-us locale : en-us
shortcut : ddg
- name : filecrop - name : filecrop
engine : filecrop engine : filecrop
categories : files categories : files
shortcut : fc
- name : flickr - name : flickr
engine : flickr engine : flickr
categories : images categories : images
shortcut : fl
- name : github - name : github
engine : github engine : github
categories : it categories : it
shortcut : gi
- name : google - name : google
engine : google engine : google
shortcut : go
- name : google images - name : google images
engine : google_images engine : google_images
shortcut : goi
- name : piratebay - name : piratebay
engine : piratebay engine : piratebay
categories : videos, music, files categories : videos, music, files
shortcut : tpb
- name : soundcloud - name : soundcloud
engine : soundcloud engine : soundcloud
categories : music categories : music
shortcut : sc
- name : stackoverflow - name : stackoverflow
engine : stackoverflow engine : stackoverflow
categories : it categories : it
shortcut : st
- name : startpage - name : startpage
engine : startpage engine : startpage
base_url : 'https://startpage.com/' base_url : 'https://startpage.com/'
search_url : 'https://startpage.com/do/search' search_url : 'https://startpage.com/do/search'
shortcut : sp
# +30% page load time # +30% page load time
# - name : ixquick # - name : ixquick
@ -74,6 +89,7 @@ engines:
- name : twitter - name : twitter
engine : twitter engine : twitter
categories : social media categories : social media
shortcut : tw
- name : urbandictionary - name : urbandictionary
engine : xpath engine : xpath
@ -81,18 +97,22 @@ engines:
url_xpath : //div[@class="word"]//a/@href url_xpath : //div[@class="word"]//a/@href
title_xpath : //div[@class="word"]//a title_xpath : //div[@class="word"]//a
content_xpath : //div[@class="definition"] content_xpath : //div[@class="definition"]
shortcut : ud
- name : yahoo - name : yahoo
engine : yahoo engine : yahoo
shortcut : yh
- name : youtube - name : youtube
engine : youtube engine : youtube
categories : videos categories : videos
shortcut : yt
- name : dailymotion - name : dailymotion
engine : dailymotion engine : dailymotion
locale : en_US locale : en_US
categories : videos categories : videos
shortcut : dm
- name : vimeo - name : vimeo
engine : vimeo engine : vimeo
@ -101,6 +121,7 @@ engines:
url_xpath : ./a/@href url_xpath : ./a/@href
title_xpath : ./a/div[@class="data"]/p[@class="title"]/text() title_xpath : ./a/div[@class="data"]/p[@class="title"]/text()
content_xpath : ./a/img/@src content_xpath : ./a/img/@src
shortcut : vm
locales: locales:
en : English en : English