Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signal killed when parsing eppi.ioe.ac.uk url #47

Open
computerphysicslab opened this issue Aug 11, 2020 · 1 comment
Open

Signal killed when parsing eppi.ioe.ac.uk url #47

computerphysicslab opened this issue Aug 11, 2020 · 1 comment

Comments

@computerphysicslab
Copy link

Bug downloading url: http://eppi.ioe.ac.uk/cms/Projects/DepartmentofHealthandSocialCare/Publishedreviews/COVID-19Livingsystematicmapoftheevidence/tabid/3765/Default.aspx

This is my code for parsing url:
// Get plain text content
plain, err := html2text.FromString(string(bodyBytes), html2text.Options{PrettyTables: true})

I got error:
signal: killed

It works pretty well on many other links. Thanks a lot, great job!!!

@ros-tel
Copy link

ros-tel commented Dec 21, 2020

The problem is in the tablewriter library.
Try setting PrettyTablesOptions.AutoWrapText = false.
A similar problem in #48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants