ANDROID-JAVA - HTML Parsing - Hidden Input -



ANDROID-JAVA - HTML Parsing - Hidden Input -

i'm tryin parse document have code:

<form action="/login/" method="post" name="loginform" id="loginform" > <input type='hidden' name='csrfmiddlewaretoken' value='hcwavsxhrc40giq5gbzm0mtklzbtqic1' /> <p> <label for="username">nome utente<br /> <input type="text" name="username" id="username" class="inputfields" value="" size="20" tabindex="1" /> </label> </p> [...] </form>

and need extract here csrfmiddlewaretoken, using jsoup not able it...

sorry english, hope understand problem.

have @ css selectors. starting point mozilla

i tried simple 1 1 here: http://try.jsoup.org/~gt7k5vyodnu16shl7steb-fdd1o using selector:

input[type="hidden"] or input[name="csrfmiddlewaretoken"]

with info next jsoup api should able phone call

attr(string key)

on retrieved element.

java android html parsing jsoup

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -