Mercurial > hg > egg-tcls
view config.fetch_weather.example @ 280:3893192d7aff rel-0_1_0
weather: Fix a WTF.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 23 Jan 2015 12:32:06 +0200 |
parents | 9cf0c86e72b2 |
children | 9f64f54c2fb3 |
line wrap: on
line source
### ### Example configuration for weather.tcl data fetcher ### script 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)"