fimad / scalpel

A high level web scraping library for Haskell.
Apache License 2.0
323 stars 43 forks source link

Scraper for inner HTML #26

Closed LukaHorvat closed 8 years ago

LukaHorvat commented 8 years ago

Currently there's the text scraper that grabs the textual content of the selected node, and there's the html scraper that get's the whole selected node. I'd like a scraper that gives me only the inner HTML, without the selected tag itself.

fimad commented 8 years ago

What would that return for something like <a> foo <b> bar </b> baz </a>?

Would it be foo <b> bar </b> baz or <b> bar </b>?

LukaHorvat commented 8 years ago

The former.

fimad commented 8 years ago

This has been released in 0.3.1