Skip to content

Help/Request for more complex samples #2

@PDDStudio

Description

@PDDStudio

Hey,

I'd like to parse an HTML page using JsoupAnnotations.
The sample app is quite "lightweight" and doesn't cover the full potential of this library.
Would you mind adding some examples for more complex structures as well?

E.g., I stuck parsing this piece of HTML with your library:

<div class="clanname"> 
 <div>
  <a style="color:inherit;" href="/clan/87010">IDK?</a>
 </div> 
 <span>Last seen&nbsp;</span> 
 <span data-lastseentime data-date="1504049086360"></span> 
</div>

Let's say I want to have the value of data-date, how would I have to annotate my model to be able to access it?

Any help is appreciated.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions