ignore asin

This commit is contained in:
j 2016-02-07 13:54:38 +05:30
parent f2e3f57871
commit 828705923c
2 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,6 @@ def metadata(f, from_=None):
'tableofcontents',
'title',
'asin',
'textsize',
):
if key in info:

View File

@ -32,11 +32,13 @@ def info(opf):
isbn = to_isbn13(value)
if isbn:
data['isbn'] = isbn
'''
if e.attrib.get(ns + 'scheme') == 'AMAZON':
if not 'asin' in data:
data['asin'] = [value]
else:
data['asin'].append(value)
'''
else:
data[key] = strip_tags(e.text)
#YYY-MM-DD