File "c:\Users\Administrator\Documents\Untitled-2.py", line 79, in downloadepub
c = html2epub.create_chapter_from_string(bookpage)
File "C:\Program Files\Python38\lib\site-packages\html2epub\chapter.py", line 320, in create_chapter_from_string
return Chapter(clean_xhtml_string, title, url)
File "C:\Program Files\Python38\lib\site-packages\html2epub\chapter.py", line 168, in init
self.html_title = cgi.escape(self.title, quote=True)
AttributeError: module 'cgi' has no attribute 'escape'
File "c:\Users\Administrator\Documents\Untitled-2.py", line 79, in downloadepub c = html2epub.create_chapter_from_string(bookpage) File "C:\Program Files\Python38\lib\site-packages\html2epub\chapter.py", line 320, in create_chapter_from_string return Chapter(clean_xhtml_string, title, url) File "C:\Program Files\Python38\lib\site-packages\html2epub\chapter.py", line 168, in init self.html_title = cgi.escape(self.title, quote=True) AttributeError: module 'cgi' has no attribute 'escape'