keepcosmos / readability

Readability is Elixir library for extracting and curating articles.
Apache License 2.0
253 stars 58 forks source link

Allow selecting a different :html_parser for Floki in readability function calls. #68

Open vkryukov opened 1 week ago

vkryukov commented 1 week ago

This will allow to selectively use a different parser without setting a global configuration variable, which should help with tests.

Valian commented 1 week ago

Maybe some kind of a floki_opts keyword list that will allow to pass any options to underlying floki parse_document call?