Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #4561
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!postnews.google.com!d26g2000prn.googlegroups.com!not-for-mail |
|---|---|
| From | Nicola Branzoli <nicolabranzolihc@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Python to accept terms and conditions of a website |
| Date | Tue, 3 May 2011 10:33:39 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 11 |
| Message-ID | <1ce933c0-57be-44b0-884a-e20e1dae5773@d26g2000prn.googlegroups.com> (permalink) |
| NNTP-Posting-Host | 72.33.151.232 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Trace | posting.google.com 1304444019 20314 127.0.0.1 (3 May 2011 17:33:39 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Tue, 3 May 2011 17:33:39 +0000 (UTC) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | d26g2000prn.googlegroups.com; posting-host=72.33.151.232; posting-account=43IA4woAAACMK0lNw2cJXg2JZreEMrvp |
| User-Agent | G2/1.0 |
| X-HTTP-UserAgent | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24,gzip(gfe) |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:4561 |
Show key headers only | 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
Python to accept terms and conditions of a website Nicola Branzoli <nicolabranzolihc@gmail.com> - 2011-05-03 10:33 -0700
csiph-web