I am doing an NLP project and I need to know how to extract links that only are in the "introduction" section and in the "geography" section of this wikipidia page: http://en.wikipedia.org/wiki/Boston.

I used jsoup to extract all links from all the page, but I am not able to do it only from the sections that I want (introduction and geography section).

Could you please help me?