-
-
Save cburmeister/3110f9821d2777d1e853 to your computer and use it in GitHub Desktop.
A surfraw elvi to search juno.co.uk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# elvis: juno -- Search juno.co.uk (www.juno.co.uk) | |
# Corey Burmeister, last name dot first name at gmail.com | |
. surfraw || exit 1 | |
w3_usage_hook() | |
{ | |
cat << EOF | |
Usage: $w3_argv0 [options] [search words]... | |
Description: | |
Surfraw search juno.co.uk (www.juno.co.uk) | |
EOF | |
w3_global_usage | |
} | |
w3_config | |
w3_parse_args "$@" # w3_args now contains a list of arguments | |
escaped_args=`w3_url_of_arg $w3_args` | |
w3_browse_url "http://www.juno.co.uk/search/?q%5Ball%5D%5B%5D=${escaped_args}&solrorder=relevancy&hide_forthcoming=0" | |
# EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment