Web-Forms

M

Mathias Waack

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?

Mathias
 
S

Simon Brunning

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?

Mechanize?

<http://wwwsearch.sourceforge.net/mechanize/>
 
M

Mike Meyer

Mathias Waack said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,310
Members
47,977
Latest member
MillaDowdy

Latest Threads

Top