dscrape

Duckduckgo CLI search/scraper
git clone git://git.codemadness.org/dscrape
Log | Files | Refs | README

duckduckgo (211B)


      1 #!/bin/sh
      2 if test x"$1" = x""; then
      3 	echo "usage: $0 <keywords>" >&2
      4 	exit 1
      5 fi
      6 
      7 hurl -m 1024000 -t 15 "https://duckduckgo.com/html/?q=$1" | ./dscrape
      8 
      9 #curl -H 'User-Agent:' "https://duckduckgo.com/html/?q=$1"