android - JSoup Elements removes duplicates automatically -
this weird problem don't understand why occur. but, doing following:
elements fullcoursespaces = fullcourses.select("span[class=note-red]"); //get course times
removes duplicates. returns 2 unique elements, since rest of elements duplicates of these unique elements, removed. when instead, should fill elements list duplicates regardless. there reason why happening?
edit: side note, doing document.queryselectorall("span[class=note-red]"); on webpage gives me elements regardless if duplicates or not.
Comments
Post a Comment