html2text icon indicating copy to clipboard operation
html2text copied to clipboard

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

Open computerphysicslab opened this issue 5 years ago • 1 comments

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!!!

computerphysicslab avatar Aug 11 '20 07:08 computerphysicslab

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

ros-tel avatar Dec 21 '20 06:12 ros-tel