Update fulfill.py
This commit is contained in:
parent
86f24caa19
commit
246fcc57cc
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ def download(replyData):
|
|||
try:
|
||||
metadata_node = adobe_fulfill_response.find("./%s/%s/%s" % (adNS("fulfillmentResult"), adNS("resourceItemInfo"), adNS("metadata")))
|
||||
book_name = metadata_node.find("./%s" % (adDC("title"))).text
|
||||
book_name = ''.join([c for c in book_name if c not in '\/:*?"<>|'])
|
||||
except:
|
||||
book_name = "Book"
|
||||
|
||||
|
|
Loading…
Reference in a new issue