cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: simulate post data on html form

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 14 Feb 2007 08:26:23 -0800

On Wed, Feb 14, 2007 at 04:22:16PM +0100, Philippe Baudry wrote:
> emulation of html form filling with curl seems to us very interesting;
> however i can't run this functionnality correctly
>
> if we consider a very simple exemple as the input of a search criteria
> in the google form

Google implements some anti-robot strategies in order to reduce the
probability that it will be used by viruses or otherwise malicious software.
It may be tricky to get curl working with it (if their terms of service
even allow it). Start with the strategies outlined previously on the list
to make curl look more like a browser (e.g. start with setting a User-Agent:
string, and use LiveHttpHeaders to see what else you need). It may be
easier to simulate a simple browser, not Firefox or I.E.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-02-14