Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80543
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Communicating with a PHP script (and pretending I'm a browser) |
| Date | 2014-11-11 17:33 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <m3th9c$vod$1@dont-email.me> (permalink) |
| References | <mailman.15667.1415720928.18130.python-list@python.org> |
On Tue, 11 Nov 2014 10:48:41 -0500, Larry Martell wrote: > Is there some way python can communicate like curl ... it needs to send > the request string in the body of a POST request to the URL that will > route to the PHP script and get the output back. http://www.lmgtfy.com/?q=python+http+request and perhaps http://www.lmgtfy.com/?q=python+parse+html Personally I think last time I wanted to do we scraping in python I used requests and beautifulsoup, but ymmv. -- Denis McMahon, denismfmcmahon@gmail.com
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Communicating with a PHP script (and pretending I'm a browser) Larry Martell <larry.martell@gmail.com> - 2014-11-11 10:48 -0500 Re: Communicating with a PHP script (and pretending I'm a browser) Denis McMahon <denismfmcmahon@gmail.com> - 2014-11-11 17:33 +0000
csiph-web