Python to accept terms and conditions of a website

Nicola Branzoli nicolabranzolihc at gmail.com
Tue May 3 13:33:39 EDT 2011


Hey, I am writing a code in python to access public data online (using
BeautifulSoup).
The task is relatively easy but the code does not get to the page
because I need to accept the terms and condition of the website first
(by a standard click 'Accept' button).
I need to tell python how to automatically accept the terms and
condition and proceed to the web address specified. I am new in
pyhton, my guess is that I have to use mechanize because cookielib is
not good for this job. Am I right? What other resources can I use? Any
link with an example similar to my problem would be super-duper...
n



More information about the Python-list mailing list