Some sample scripts for screen scraping
NWLON (tides)
- screen scrape the predicted water levels(lwpNWLONPredicted.pl) from a list of sites(Carocoops sample list of sites also attached as nwlon_stations.txt)
- screen scrape the actual water levels(lwpNWLONActual.pl) from a list of stations
- compute and update the difference for the collected values(NWLONDiff.pl)
Also attached a description of the postgres table(water_level.txt) this is running this against - note there is a unique index on the station and date time, so the initial process does an insert and the following processes do updates based on the same station and datetime.
--
JeremyCothran - 28 Jan 2005
to top