Program that lets you search with DuckDuckGo from the command line.
Project description
What the duck is Ducker?
Ducker is a lightweight program that makes internet searchs with DuckDuckGo from the command line. It can search for images, websites, videos, news and a lot more.
Usage
Just execute it in your shell with the search string as an argument. We call search string what you want to search for with DuckDuckGo. The following example searchs for classical music.
$ duck classical music
There are also options to search for images, videos, audio, etc. To check out every option execute the program with the –help or -h arguments.
Installation
You can clone the repository and install Ducker with…
$ python setup.py install
Or you can simply install it with pip…
$ pip install ducker
Customization
You can always use your favourite command-line options of Ducker using Bash aliases or other utilities available for your shell. Let’s say we want to add an option to search for articles in Wikipedia; we could create a Bash alias for that.
$ alias wikipedia='ducker \!w'
Calling wikipedia in the shell would open the main page of wikipedia, and calling wikipedia free software would open the “Free software” article from wikipedia. Note that we’re using DuckDuckGo bangs and that the exclamation mark (!) must be escaped in Bash.
Similarly, you can create an alias to never use JavaScript when using Ducker.
$ alias duck='ducker --no-javascript'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ducker-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8abfc855d5122a599b1aca448684de134dc8dd7e452d85c61226200e6682ad5b |
|
MD5 | 44e0f560223da51e31f70f545598205a |
|
BLAKE2b-256 | e256a452af5a12785e097c99f0d714a29a5aa65c1d21f36748d7be72c96634cb |