Web-Forms

Fuzzyman fuzzyman at gmail.com
Fri Jul 22 03:29:39 EDT 2005



Mike Meyer wrote:
> Mathias Waack <M.Waack at gmx.de> writes:
>
> > Hi,
> >
> > I need to access some information from a web site which are only accessible
> > through a form. Thus for each bucket of data you have to fill out the form,
> > submit it and wait for an answer. Very easy - if you don't have to check
> > some hundred times. Of course this site requires cookies, it is not
> > directly accessible by URL and so on. All that nice stuff used to make a
> > web site more professional;)
> >
> > But now the question: how can this be solved by using Python?
>
> urllib2 (in the standard library) for reading the data from the
> website. BeautifulSoup <URL:
> http://www.crummy.com/software/BeautifulSoup/> for extracting data
> from the pages.
>


Adding ClientForm for automatically handling the forms and
ClientCookie/cookielib for automatic cookie handling.

Best Regards,

Fuzzy
http://www.voidspace.org.uk/python

>            <mike
>
> --
> Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
> Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.




More information about the Python-list mailing list