Script to POST to web page with cookies?

Miki miki.tebeka at gmail.com
Fri Jul 20 07:26:46 CEST 2007


Hello Gille,

> I need to write a script to automate fetching data from a web site:
> 1. using the POST method, log on, with login/password saved as cookies
> 2. download page and extract relevent information using regexes
> 3. log off
> 4. wait for a random number of minutes, and GOTO 1
> ...
http://wwwsearch.sourceforge.net/mechanize/

HTH,
--
Miki <miki.tebeka at gmail.com>
http://pythonwise.blogspot.com




More information about the Python-list mailing list