This is a hourly weather scraper Dublin city. It uses the open weather API.
Use the package manager pip to install DublinWeatherScraper.
pip install git+"https://github.com/yik000/WeatherScraper.git"
Create dbinfo.py
file in ~/miniconda3/envs/enviroment/bin/DublinWeatherScraper
with database URI, database PASS, database USER, DBNAME and OW_APIKEY.
Run module in the background.
nohup dublin_weather_scraper &
Then:
echo $! >> scraper_process.pid
to store pid of scraper.