Alir3z4 / Alir3z4/html2text

Hangs on some files?

Open
#341 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.2k
Forks
296
PR merge metrics
No merged PRs in 30d

Description


- Version by ` html2text, version 1.3.2a`
- Test script
- Python version `Python 3.6.9`

I can't seem to get html2text to process this file:

[test.txt](https://github.com/Alir3z4/html2text/files/5620707/test.txt)

I'm trying both:

```
html2text -nobs -utf8 -o /home/spider/web/crawler.pagething.com/public_html/cgi-bin/admin/tmp/title /home/spider/web/crawler.pagething.com/public_html/websites-org/org/test.html

cat /home/spider/web/crawler.pagething.com/public_html/websites-org/org/test.html | html2text -nobs -utf8 -o /home/spider/web/crawler.pagething.com/public_html/cgi-bin/admin/tmp/title
```

Weirdly if I add a new line to the end of the file, it works ??

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.