java - Finding Jaunt Element not working? -


i'm trying specific element off youtube (the title of video).

html: http://pastebin.com/cjr2sgnd

important html part:

<span id="eow-title" class="watch-title " dir="ltr" title="latest agar.io pvp - create own server!"></span> 

i find this: title="latest agar.io pvp - create own server!"

however, error: http://pastebin.com/g7x9fzaa

i'm using jaunt title. code:

useragent useragent = new useragent(); //troubleshooting system.out.println("working");  list<string> vid = useragent.doc.findattributevalues("<span title>"); system.out.println(vid); //troubleshooting system.out.println("working1"); 


Comments