engines.cfg_sample 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. [wikipedia]
  2. engine = mediawiki
  3. url = https://en.wikipedia.org/
  4. number_of_results = 1
  5. [bing]
  6. engine = bing
  7. language = en-us
  8. [cc]
  9. engine=currency_convert
  10. [deviantart]
  11. engine = deviantart
  12. categories = images
  13. [ddg definitions]
  14. engine = duckduckgo_definitions
  15. [duckduckgo]
  16. engine = duckduckgo
  17. [flickr]
  18. engine = flickr
  19. categories = images
  20. [github]
  21. engine = github
  22. categories = it
  23. [google images]
  24. engine = google_images
  25. categories = images
  26. [piratebay]
  27. engine = piratebay
  28. categories = videos, music
  29. [soundcloud]
  30. engine = soundcloud
  31. categories = music
  32. [stackoverflow]
  33. engine = stackoverflow
  34. categories = it
  35. [startpage]
  36. engine = startpage
  37. [twitter]
  38. engine = twitter
  39. categories = social media
  40. [urbandictionary]
  41. engine = xpath
  42. search_url = http://www.urbandictionary.com/define.php?term={query}
  43. url_xpath = //div[@id="entries"]//div[@class="word"]//a
  44. title_xpath = //div[@id="entries"]//div[@class="word"]//span//text()
  45. content_xpath = //div[@id="entries"]//div[@class="text"]//div[@class="definition"]//text()
  46. [yahoo]
  47. engine = xpath
  48. search_url = http://search.yahoo.com/search?p={query}
  49. results_xpath = //div[@class="res"]
  50. url_xpath = .//span[@class="url"]//text()
  51. content_xpath = .//div[@class="abstr"]//text()
  52. title_xpath = .//h3/a//text()
  53. [youtube]
  54. engine = youtube
  55. categories = videos