source: worldcat_util.py @ 22:8fc267f35ca1

Revision 22:8fc267f35ca1, 264 bytes checked in by hagenbruch@phoibe.ub.rub.de, 7 years ago (diff)

Some bug fixes. Added support for spell checking, journal covers, author pages...

Line 
1import urllib
2
3def xisbn(isbn):
4    response = eval(urllib.urlopen('http://xisbn.worldcat.org/webservices/xid/isbn/%s?method=getMetadata&format=python&fl=oclcnum' % isbn).read())
5    return 'http://www.worldcat.org/wcpa/oclc/%s' % response['list'][0]['oclcnum'][0]
Note: See TracBrowser for help on using the repository browser.