ignore asin
This commit is contained in:
parent
f2e3f57871
commit
828705923c
2 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,6 @@ def metadata(f, from_=None):
|
|||
'tableofcontents',
|
||||
'title',
|
||||
|
||||
'asin',
|
||||
'textsize',
|
||||
):
|
||||
if key in info:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue