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

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -