10
Searching through the Web by using the Google search engine is a de facto standard for Internet users. Google provides a basic or an advanced form to prepare a query string to its search engine. Supposing to be interested in not using the web form, one can simply do an HTTP get request to the specific URL with a query string constructed upon the search conditions.
For instance I can search for results with word "hello" by doing an HTTP request at:
http://www.google.com/search?q=hello
I can add another word, e.g. "world", as follows:
http://www.google.com/search?q=hello+world
You know, the search can be more "complicated" by specifying nice parameters like:
- or condition(s)
- exact phrase(s)
- search on specific domain(s)
- avoid a specific word(s)
- search with a specific language
- limit search by geographical area
- search for document type
- etc.
How can I modify the query string to account for the above search parameters?