Go to file
James Lu c92bc0ca0c DDG: expand redirect links in search results
Some links on DuckDuckGo's site are now shown going through a redirect service.
These links are in the format "/l/?kh=-1&uddg=https%3A%2F%2Fduckduckgo.com%2F" instead of simply being "https://duckduckgo.com", and we should decode these here.

From: 8187d51cef
2020-05-15 11:19:32 -07:00
local DDG: First commit 2014-12-10 18:59:51 -08:00
__init__.py plugins: update my email 2020-05-15 11:19:32 -07:00
config.py copyright year updates 2015-04-25 23:22:58 -07:00
plugin.py DDG: expand redirect links in search results 2020-05-15 11:19:32 -07:00
README.md DDG: fix wrong command name in README 2020-05-15 11:19:32 -07:00
test.py copyright year updates 2015-04-25 23:22:58 -07:00

Provides an interface to DuckDuckGos web search and Zero-click engine.

<+GLolol> %ddg search eiffel tower
<@Atlas> The Eiffel Tower is an iron lattice tower located on the Champ de Mars in Paris. It was named after the engineer Gustave Eiffel, whose company designed and built the tower. - <https://en.wikipedia.org/wiki/Eiffel_Tower>

Zero-Click Results

<+GLolol> %zeroclick 2015
<@Atlas> 2015 - 2015 has been designated the International Year of Light and the International Year of Soils by the sixty-eighth session of the United Nations General Assembly. <https://en.wikipedia.org/wiki/2015>
<+GLolol> %zeroclick 57^2
<@Atlas> 57^2 - 3,249