Web-Forms

Mike Meyer mwm at mired.org
Thu Jul 21 19:43:24 EDT 2005


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.

           <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