Html parsing with JSoup

后端 未结 5 1023
天涯浪人
天涯浪人 2021-01-01 08:17

I am trying to parse the html of the following URL:

http://ocw.mit.edu/courses/aeronautics-and-astronautics/16-050-thermal-energy-fall-2002/

to obtain the te

5条回答
  •  感动是毒
    2021-01-01 08:34

    I don't know anything about JSoup, but it seems like if you wanted the instructors name you could access it with something like:

    Element instructor = doc.select("div.chpstaff div p");
    

提交回复
热议问题