cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to use curl to manipulate the web message?

From: Weedy <weedy2887_at_gmail.com>
Date: Wed, 27 Jun 2012 00:55:30 -0400

On 26/06/12 09:55 PM, Alfred Zhang wrote:
> Dear friends,
>
> Good morning my frends, I am a fresh men for using curl , and I am very
> glad to join curl-user mailing list.
> I have a problem on how to post a form with "curl -d" , e.g. , asuming
> I want to use Google to search a
> key word "cat" , how can I use curl to make it?

If all you want to do is get search results you only need URL encode the
"q" parameter. That said doing anything automated with google probably
violated there TOS

https://www.google.ca/search?q=cat&hl=en&num=10&lr=lang_en
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-27