https://github.com/smidm/chmi-hydro-scraper
Scraper for http://hydro.chmi.cz/hpps/
https://github.com/smidm/chmi-hydro-scraper
Last synced: 3 months ago
JSON representation
Scraper for http://hydro.chmi.cz/hpps/
- Host: GitHub
- URL: https://github.com/smidm/chmi-hydro-scraper
- Owner: smidm
- License: mit
- Created: 2019-01-02T10:07:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-02T11:51:47.000Z (over 6 years ago)
- Last Synced: 2025-03-05T21:04:11.127Z (3 months ago)
- Language: HTML
- Size: 59.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scraper for Water Level and Temperature at chmi.cz
Suitable for http://hydro.chmi.cz/hpps/* (as of beginning 2019).
Example output:

```
2018-12-17 13:00:00,46,52.1,4.7
2018-12-17 14:00:00,46,52.1,4.7
2018-12-17 15:00:00,46,52.1,4.7
2018-12-17 16:00:00,46,52.1,4.7
2018-12-17 17:00:00,47,55.1,4.7
2018-12-17 18:00:00,47,55.1,4.7
2018-12-17 19:00:00,46,52.1,4.7
```# Installation
conda env create -f conda.yml
# Usage
conda activate chmi
python scraper.py# Cronjob
Edit paths in the `crontab`. Set an user crontab to regularly scrape the data:
crontab crontab