skrapeit / skrape.it

A Kotlin-based testing/scraping/parsing library providing the ability to analyze and extract data from HTML (server & client-side rendered). It places particular emphasis on ease of use and a high level of readability by providing an intuitive DSL. It aims to be a testing lib, but can also be used to scrape websites in a convenient fashion.
https://docs.skrape.it
MIT License
789 stars 57 forks source link

Propagate relaxed property #226

Closed patxibocos closed 1 year ago

patxibocos commented 1 year ago

This change propagates the relaxed property when creating default elements.

Now, when a default element is created, the relaxed property is not passed so those elements will never be relaxed. With this change, any nested hierarchy of default elements will still be relaxed.

patxibocos commented 1 year ago

@christian-draeger What do you think about this one?

christian-draeger commented 1 year ago

Hey, thx for contributing 🙂 Looks good to me

christian-draeger commented 1 year ago

Fixed #223

patxibocos commented 1 year ago

Great! I didn't even notice there was an already reported but for this.