Getting data from a web site, without API?

java, rest, web-scraping

Solution

You're going to have to download the page yourself, and parse through all the info yourself.

You possibly want to look into the `Pattern` class, look at some `regex`, and the `URL` and `String` classes will be very useful.

You could always download an html library to make it easier. Something like http://htmlparser.sourceforge.net/ possibly.

Very general question so obviously I can't provide relevant code, but this is known as scraping.

Problem

I want to get automatically data about real estate from this site: LINK However, they do not have an API. How would you generally do that?

Original source

Related problems