diff --git a/oml/meta/lookupbyisbn.py b/oml/meta/lookupbyisbn.py index 0b9abdc..2eb5365 100644 --- a/oml/meta/lookupbyisbn.py +++ b/oml/meta/lookupbyisbn.py @@ -89,5 +89,5 @@ def lookup(id): return r def amazon_lookup(asin): - html = read_url('http://www.amazon.com/dp/%s' % asin).decode('utf-8') + html = read_url('http://www.amazon.com/dp/%s' % asin).decode('utf-8', 'ignore') return list(set(find_isbns(find_re(html, 'Formats.*?