Python to accept terms and conditions of a website

  • Thread starter Nicola Branzoli
  • Start date
N

Nicola Branzoli

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
 

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
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top