davehansen’s posterous

« Back to blog

Learning to handle cookies with python scraper

cookielib_example.py: uses cookielib and various other methods for foolproof cookie handling and storage
scaper.py: uses pycurl/libcurl to access resources with 'automatic cookie handling'

Click here to download:
cookielib_example.py (4 KB)

Click here to download:
scraper.py (1 KB)

Loading mentions Retweet

Comments (0)

Leave a comment...

 
To leave a comment on this posterous, please login by clicking one of the following.
Posterous-login     Connect     twitter