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
2014-12-10 18:59:51 -08:00
2020-05-15 11:19:32 -07:00
2015-04-25 23:22:58 -07:00
2015-04-25 23:22:58 -07:00

Provides an interface to DuckDuckGo's 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
Description
A robust, full-featured, and user/programmer-friendly Python IRC bot, with many existing plugins. Successor of the well-known Supybot.
Readme 43 MiB
Languages
Python 100%