Mozilla's readability tool (and library) powers Firefox's Reader View, but it can also be used to extract article text from web pages.
I've had a mind to wrap it for R for a while — we've done stories before based on text scraping where the sources are varied enough that trying to automate it simply with rvest is a recipe for frustration. I think an R wrapper for readability would be a good complement to existing tools (not to mention it would discourage people from simply aiming an LLM at a webpage, which is often overkill).
Mozilla's readability tool (and library) powers Firefox's Reader View, but it can also be used to extract article text from web pages.
I've had a mind to wrap it for R for a while — we've done stories before based on text scraping where the sources are varied enough that trying to automate it simply with
rvestis a recipe for frustration. I think an R wrapper for readability would be a good complement to existing tools (not to mention it would discourage people from simply aiming an LLM at a webpage, which is often overkill).