Skip to content

Request for comments: Should we remove fetching HTTP functionality? #64

@Valian

Description

@Valian

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions