Update fulfill.py
parent
86f24caa19
commit
246fcc57cc
|
@ -47,6 +47,7 @@ def download(replyData):
|
||||||
try:
|
try:
|
||||||
metadata_node = adobe_fulfill_response.find("./%s/%s/%s" % (adNS("fulfillmentResult"), adNS("resourceItemInfo"), adNS("metadata")))
|
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 = metadata_node.find("./%s" % (adDC("title"))).text
|
||||||
|
book_name = ''.join([c for c in book_name if c not in '\/:*?"<>|'])
|
||||||
except:
|
except:
|
||||||
book_name = "Book"
|
book_name = "Book"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue