Communicating with a PHP script (and pretending I'm a browser)

Larry Martell larry.martell at gmail.com
Tue Nov 11 17:37:18 CET 2014


On Tue, Nov 11, 2014 at 10:54 AM, Chris Angelico <rosuav at gmail.com> wrote:
> On Wed, Nov 12, 2014 at 2:48 AM, Larry Martell <larry.martell at gmail.com> 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.
>
> That is possible, but probably more effort than it's worth. It'll
> likely be easier to just do the translation all at once.

I would tend to agree, but that's not what my client wants. Also, it's
A LOT of PHP code so it does make some small amount of sense.



More information about the Python-list mailing list