Right now there's Readability.summarize(url) function fetching the article and then parsing it.
I'm thinking about:
- removing fetching functionality from Readability
- removing
httpoison from dependencies
- relying on
Readability.article(html) as an entrypoint to the library, with the expectation that user will get HTML on his own
Why?
- there are various approaches to scraping. Some apps use Req, some HTTPoison, some Tesla. Using multiple clients in a single app doesn't really make sense.
- People might need different settings - HTTP headers, proxy etc
- There's some maintenance overhead of keeping it around - updating dependencies etc.
Thoughts? Maybe @vkryukov @philipbrown ?