Python Requests



Anyone interested in Requests may also want to check out ghost.py: https://github.com/jeanphix/Ghost.py

It's an easy to use interface to webkit in the Qt lib (runs JS, automatically handles cookies like a normal browser, etc).

i have lots of experience with browser automation, and pretty much every available solution out there right now sucks, except for py/qt (or c/qt if you have a true appetite for insanity).

haven't tried ghost.py, it looks pretty neat, was overkill for what i was doing, but assuming they built it using some common sense it's got the potential to be one of the best headless automation frameworks out there.
 
Giving Ghost.py another chance today, so far it's winning in one important way, it's using a fraction of the RAM firefox does.
 
Giving Ghost.py another chance today, so far it's winning in one important way, it's using a fraction of the RAM firefox does.

that's because firefox is the definition of shit software. back to chrome I went after trying to give it another chance a few months ago. Firefox is just so fucking slow in comparison it's not even funny
 
that's because firefox is the definition of shit software. back to chrome I went after trying to give it another chance a few months ago. Firefox is just so fucking slow in comparison it's not even funny

define definition ;)

But yes webkit in general seems lighter. Firefox makes my computer swap until it's unusable. Been using chrome more and more.