Alir3z4 / Alir3z4/html2text

Hangs on some files?

Ouverte
#341 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
2.2k
Forks
296
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.