Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4561

Python to accept terms and conditions of a website

From Nicola Branzoli <nicolabranzolihc@gmail.com>
Newsgroups comp.lang.python
Subject Python to accept terms and conditions of a website
Date 2011-05-03 10:33 -0700
Organization http://groups.google.com
Message-ID <1ce933c0-57be-44b0-884a-e20e1dae5773@d26g2000prn.googlegroups.com> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar


Thread

Python to accept terms and conditions of a website Nicola Branzoli <nicolabranzolihc@gmail.com> - 2011-05-03 10:33 -0700

csiph-web