search - how to use htmlparsing and curl in JAVA for this task...? -
I am trying to write a program that takes the name of the company from a text file and searches on the search engine website (SEC Edgar Search) Each search usually comes with 1-10 unique search result links and so I want to use curl to click the link with the name of the company concerned. The link page has a brief summary with the term "Incorrect state": and then the name of the state. I am hoping to parse the name of the state. I'm having trouble understanding how to use HTML parsing and curls and their classes. I appreciate any help, such as a brief overview or absolutely any advice. Thank you.
Assuming that HTML is quite basic, use something like this. You will give more details on making DOM. Java is for downloading content from the web, and it will be enough for you (instead of using "curl").
Once you have a DOM, you can use the standard dome API link and the items you want.
Comments
Post a Comment