7 ms·
I think this[0] comes close to what is used to extract text from an HTML document. Fetching can be done via any HTTP client. Will need jsdom to convert the text
by dineshdb 5y ago
I think this[0] comes close to what is used to extract text from an HTML document. Fetching can be done via any HTTP client. Will need jsdom to convert the text to DOM before feeding it to readability.
[0]: https://github.com/mozilla/readability https://github.com/mozilla/readability
- zerop 5y agoThanks for sharing. Given the description, it can also be used as back-end for build link preview, like FB.