Script to use Google Custom Search

I’ve just wrote a script which performs a ‘search query’ using “Google’s Custom Search” and uploaded it to GitHub.

I’ve found it useful to perform quick authenticated Google searches from the command-line…

There is room for improvement, if you can see how then let me know. Your also welcome to re-write it into any language if you don’t like using bash. 🙂

This performs a search for “hotels asia” excluding china from the results, and returns 5 pages, so it returns 50 URL’s. "hotels asia -china" 5

You can find the code available here ->

Don’t forget to add your “Developer API key” and CSE into the script.

Let me know if you find this useful.

This entry was posted in bash, google, internet, linux, software. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s