https://github.com/tobked/meteo_scrap
scraping meteograms from meteo.pl
https://github.com/tobked/meteo_scrap
Last synced: 4 months ago
JSON representation
scraping meteograms from meteo.pl
- Host: GitHub
- URL: https://github.com/tobked/meteo_scrap
- Owner: TobKed
- Created: 2018-05-13T00:51:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T21:43:44.000Z (about 2 years ago)
- Last Synced: 2025-03-27T07:01:50.997Z (4 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Display meteogram from meteo.pl.
You just have to adjust few constants at the beginning of the script:
* `UM` = True / False (if you want to see UM model)
* `COAMPS` = True / False (if you want to see COAMPS model)
* `LEGENDS` = True / False (if you want to see legend)
* `MODEL_UM_URL` = url of the UM model meteogram webpage
* `MODEL_COAMPS_URL` = url of the COAMPS model meteogram webpage* `CHROMEDRIVER_PATH` = path to ChromeDriver, the WebDriver for Chrome
available on http://chromedriver.chromium.org/eventually also:
* `LEGEND_UM_URL` = direct url of the UM model legend image
* `LEGEND_COAMPS_URL` = direct url of the COAMPS model legend image## to run this app I use
### start_meteo.sh
```bash
#!/bin/bash
cd /home/username/venv/meteo_scrap/bin/
source activate
cd /home/username/PythonProjects/meteo_scrap/
python meteo_scrap.py
```
### meteo.desktop
```ini
[Desktop Entry]
Comment=meteo_scraper
Terminal=true
Name=meteo
Exec=/home/username/PythonProjects/meteo_scrap/start_meteo.sh
Type=Application
Icon=/home/username/PythonProjects/meteo_scrap/cloud.svg
Name[en_US]=meteo
```