You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.
https://warsier.gitbooks.io/new_master_rule/content/3/32/322/3222.html Traceback (most recent call last): File "gitbook.py", line 309, in <module> Gitbook2PDF(url).run() File "gitbook.py", line 195, in run loop.run_until_complete(self.crawl_main_content(content_urls)) File "/home/ilab/.conda/envs/gitbook/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete return future.result() File "gitbook.py", line 217, in crawl_main_content await asyncio.gather(*tasks) File "gitbook.py", line 238, in gettext text = ChapterParser(metatext, title, level, ).parser() File "gitbook.py", line 102, in parser return html.unescape(ET.tostring(context).decode()) File "src/lxml/etree.pyx", line 3351, in lxml.etree.tostring File "src/lxml/serializer.pxi", line 139, in lxml.etree._tostring File "src/lxml/serializer.pxi", line 199, in lxml.etree._raiseSerialisationError lxml.etree.SerialisationError: IO_ENCODER
The script seems to go wrong when the page contains a table.
The text was updated successfully, but these errors were encountered:
https://warsier.gitbooks.io/new_master_rule/content/3/32/322/3222.html
Traceback (most recent call last): File "gitbook.py", line 309, in <module> Gitbook2PDF(url).run() File "gitbook.py", line 195, in run loop.run_until_complete(self.crawl_main_content(content_urls)) File "/home/ilab/.conda/envs/gitbook/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete return future.result() File "gitbook.py", line 217, in crawl_main_content await asyncio.gather(*tasks) File "gitbook.py", line 238, in gettext text = ChapterParser(metatext, title, level, ).parser() File "gitbook.py", line 102, in parser return html.unescape(ET.tostring(context).decode()) File "src/lxml/etree.pyx", line 3351, in lxml.etree.tostring File "src/lxml/serializer.pxi", line 139, in lxml.etree._tostring File "src/lxml/serializer.pxi", line 199, in lxml.etree._raiseSerialisationError lxml.etree.SerialisationError: IO_ENCODER
The script seems to go wrong when the page contains a table.
The text was updated successfully, but these errors were encountered: