uk-books /

Filename Size Date modified Message
52 B
79.3 KB
1.5 KB
1.3 KB
468 B
12.9 KB
60 B
497 B
8.2 KB
2.7 KB
827 B
4.1 KB
8.0 KB
uk-books is framework independent pure Python library that scrapes (or uses APIs) book websites.

Right now, it lets you find the price of a book via it's ISBN13. That's it. (I'll keep adding to it, of course.)

Try this out:

>>> import bookworm, httplib2
>>> h = httplib2.Http()
>>> bookworm.Tesco(h.request).isbn('9780552151832')
{'url': '', 'price': u'3.86', 'isbn': '9780552151832', 'title': u'One Day at a Time'}

>>> bookworm.Amazon(h.request).bestsellers()
[{'isbn': u'1849162743',
  'price': '',
  'title': u"The Girl Who Kicked the Hornets' Nest",
  'url': u''},
 {'isbn': u'1847245455',
    ... etc ...

It also works on AppEngine. Right now, all I've done is created a crawler. Subsequent versions will have a UI as well.


Controllers             The main controller for ALL user-facing actions            Controller only for administration actions, such as deletion or testing        Controller only for crawling actions
Models            The main data model class
Libraries         The actual crawler library    BeautifulSoup library       CSS select on top of beautifulsoup

Config           Dummy config file for public    Actual config file containing all API keys, etc.