Grab is a site scraper powered with curl.
Aims of Grab library:
* Provide easy interface to pycurl library
* Provide tools for easy scraping, parsing, grabbing web sites
Installation
Put grab package to python path and use it.
Documentation
If you understand russian you can read it here
Examples of usage
Find the size in Kib of the google home page.
from grab import Grab
g = Grab()
g.setup(url='http://google.com')
g.request()
print len(g.response_body) // 1024
Log in to bitbucket.org and send message to user lorien.
from grab import Grab
g = Grab()
g.setup(url='http://bitbucket.org/account/signin/',
post={'username': 'lorien', 'password': '****',
'blogin': 'Sign in'})
g.request()
g.setup(url='http://bitbucket.org/notifications/send/',
post={'recipient': 'lorien', 'title': 'Hi, me', 'message': 'How are you?'})
g.request()
Product's homepage
Requirements:
· Python
· curl and libcurl