How to get data from a third party website
Hi,
Im trying to do an application to get data from third party websites and the analyse the data.
So for example I want to get different prices for an item being sold in EBay, then analyse the prices.
How can I obtain the prices? how do I search for this?
Thanks in advance.
Duff
Re: How to get data from a third party website
Unless the database is publicly accessible without a web interface, you need to do so by accessing through an HTTP request. You can readily do so via java.net
Reading from and Writing to a URLConnection (The Java™ Tutorials > Custom Networking > Working with URLs)
It may become complex figuring out the appropriate get/post information to send to the server, and you will have to write your own parser to extract the particular information that you wish.
You should also verify that doing so isn't a violation of the policy of said website, or you and your program could risk being banned.
Re: How to get data from a third party website