Closed LukaHorvat closed 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.
text
html
What would that return for something like <a> foo <b> bar </b> baz </a>?
<a> foo <b> bar </b> baz </a>
Would it be foo <b> bar </b> baz or <b> bar </b>?
foo <b> bar </b> baz
<b> bar </b>
The former.
This has been released in 0.3.1
Currently there's the
text
scraper that grabs the textual content of the selected node, and there's thehtml
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.