diff --git a/oml/meta/amazon.py b/oml/meta/amazon.py index 4f8c230..da8806a 100644 --- a/oml/meta/amazon.py +++ b/oml/meta/amazon.py @@ -13,13 +13,14 @@ def info(key, value): value = stdnum.isbn.to_isbn10(value) if len(value) != 10: raise IOError('invalid isbn %s' % value) - url = 'http://www.amazon.com/dp/' + value data = read_url(url).decode() doc = lxml.html.document_fromstring(data) info = {} if '