java - Return text between divs in jsoup -


so need time between divs.

<div class="episodetime">12:00 am</div> 

using jsoup, closest answer find was:

document doc = jsoup.parse(html); elements times = doc.select("div[class=episodetime]"); element time = times.first(); 

however, time continues return null. have scoured jsoup documentation along questions here , cannot find correct answer. i'm not jsoup guru appreciated.

this worked me since needed these objects in for loop:

time.text(); 

Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -