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

What can cause "Required Package 'IndyCore' not found" when compiling a Delphi 2010 project? -

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