engines.cfg_sample 1.3KB

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