Automatic web form transactions

Jay Davis dj00302003 at
Thu Mar 4 19:15:42 CET 2004

DH <no at> wrote in message news:<5uOdnVbEF6CuzdvdRVn-uQ at>...

> The web form script (additem.php) might be checking the referrer.
> Set the http request referrer header to a URL the the URL of the webform.
> See if something like this works:
> request =
> request.add_header("Referrer", "url of the form")
> response = urlopen(request)

Yep that was it.  (But replace('Referrer','Referer').)


More information about the Python-list mailing list