Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help/Request for more complex samples #2

Open
PDDStudio opened this issue Aug 30, 2017 · 0 comments
Open

Help/Request for more complex samples #2

PDDStudio opened this issue Aug 30, 2017 · 0 comments

Comments

@PDDStudio
Copy link

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

@PDDStudio PDDStudio changed the title Complex Samples Help/Request for more complex samples Aug 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant