how can i do web scraping using java?please respond quickly
how can i do web scraping using java?
Collapse
X
-
Tags: None
-
-
Have you read the API-Docu about URL-class? Then you should know that openStream() was given there as an example to open an InputStream for the response. (That means reading the response web page after you sent the inquiry) If you want to "send value" (inquiry parameter), just give the parameter and its value inside your URL-string. For example "http://localhost/test.cgi?parame ter1=7¶mete r2=hello". If the parameter value is too long (more than 2000 characters), use POST.Comment
Comment