Mercurial > hg > egg-tcls
changeset 187:8b0a9315c69e
Permissions.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 03 Jun 2014 21:45:07 +0300 |
parents | b41c525bdaf7 |
children | 1487659d4f26 |
files | fetch_weather.config |
diffstat | 1 files changed, 32 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/fetch_weather.config Tue Jun 03 21:43:49 2014 +0300 +++ b/fetch_weather.config Tue Jun 03 21:45:07 2014 +0300 @@ -0,0 +1,32 @@ +### +### Exampel configuration for fetch_weather.pl +### + +## +## Enable/disable data scraping from Tiehallinto's WWW-pages +## +opt_tiehallinto = 1 + +## +## Enable/disable open data access from FMI +## You will need to obtain an API key, refer to +## https://ilmatieteenlaitos.fi/avoin-data +## +opt_fmi = 0 +fmi_api_key = "" + +## +## Debug mode, outputs some stuff sometimes maybe +## +debug = 1 + +## +## Path to the output file, should be same as set in weather.tcl +## If NOT set, the script will output to stdout. +## +outfile = "/home/niinuska/bot/weather.data" + +## +## HTTP user agent. If not set here, default will be used. +## +#http_user_agent = "Mozilla/5.0 (foobar)"