[BangPypers] Auto Login to Website and Capturing more details

Saager Mhatre saager.mhatre at gmail.com
Thu Dec 22 20:59:44 CET 2011


On Thu, Dec 22, 2011 at 10:27 PM, Noufal Ibrahim <noufal at gmail.com> wrote:

> [snip]
>

>
The Python stdlib can handle this using urllib2 and cookielib. I've managed
> something like this here https://gist.github.com/3811b566df4005a012c7which you can use as a starting point.
>
> After this, you have a session. Now you should be able to GET the URL you
> want directly and parse it for the information you need.
>

Wouldn't something like mechanize
<http://pypi.python.org/pypi/mechanize>simplify all this?

- d


More information about the BangPypers mailing list