Forums Register Login

Whats the best way to retrieve data from a webpage?

+Pie Number of slices to send: Send
Hi guys,
I would like some advice as to the best way to retrieve data from a web page? I intend to use the data for personal reports on dive conditions in my area.
All help and advice is always appreciated.
Thanks in advance!
+Pie Number of slices to send: Send
Ideally, the site that serves that web page also provides a machine-friendly way to view the data. That would usually be in the form of a web service. That's probably the easiest way. Without that, you'd have to scrape the data from the web page. See screen scraping and web scraping.
+Pie Number of slices to send: Send
The HtmlUnit library is IMO the best way to access web sites programmatically.
+Pie Number of slices to send: Send
Thanks for the help guys I found a weather API that provides XML response.
I was born with webbed fish toes. This tiny ad is my only friend:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 311 times.
Similar Threads
ejb-ql question (extending the constraint in an outer join)
Building page
Seeking advice on finding a third-party control for a .jsp page
controlling printing in generated HTML page
help with developing a basic java program and algorithm for a program i am working on
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:24:22.