DroidsOnRoids / jspoon

Annotation based HTML to Java parser + Retrofit converter
https://www.thedroidsonroids.com/blog/scraping-web-pages-with-retrofit-jspoon-library
MIT License
323 stars 23 forks source link

Get child elements #48

Closed shtil closed 6 years ago

shtil commented 6 years ago

Hi How I can get child elements? In jsoup I use links.get(i).children() For example:

<div class="abc"> <div class ="a">A</div> <div>A</div> <div class ="b">B</div> </div>

I need get @Selector("??????") List<Div> divsList;

Thank you

burnoo commented 6 years ago

Children of .abc: @Selector(".abc > *")