Scraping data from a site

Scraping data from a site

Hi, thanks in advance to whomever can help me.

I am building a java app with Eclipse that will return data to the user depending on what the user types in a text field. The interface is almost done, now I am trying to find the best way to do this.

I understand HTML form is one way to do this, so depending on what the user inputs in the field, the script would then go to the chosen site, input that in the form and then submit. Once found, I coup scrape certain data with Jsoup.

I am uncertain how to store what the user has input, then send it to the site once either “Enter” has been pressed or a button. Once either of those action has happened I need the script to input it in a form on the site.

Any help would be greatly appreciated as I am new to java


Hi, I’ve moved this to the more general “help” category as it’s a question about Java, not JavaScript, hopefully you should stand more chance of getting an answer there.