date
This commit is contained in:
parent
d787cec8e2
commit
6169c36b62
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,8 @@ def lookup(id):
|
|||
publisher = [e.text for e in origin[0].findall(ns + 'publisher')]
|
||||
if publisher:
|
||||
info['publisher'] = publisher[0]
|
||||
info['date'] = ''.join([e.text for e in origin[0].findall(ns + 'dateIssued')])
|
||||
info['date'] = ''.join([e.text
|
||||
for e in origin[0].findall(ns + 'dateIssued') if e.attrib.get('encoding') == 'marc'])
|
||||
for i in mods.findall(ns + 'identifier'):
|
||||
key = i.attrib['type']
|
||||
value = i.text
|
||||
|
|
Loading…
Reference in a new issue