187
|
1 ###
|
188
|
2 ### Example configuration for weather.tcl data fetcher
|
|
3 ### script fetch_weather.pl.
|
187
|
4 ###
|
|
5
|
|
6 ##
|
|
7 ## Enable/disable data scraping from Tiehallinto's WWW-pages
|
|
8 ##
|
|
9 opt_tiehallinto = 1
|
|
10
|
|
11 ##
|
|
12 ## Enable/disable open data access from FMI
|
|
13 ## You will need to obtain an API key, refer to
|
|
14 ## https://ilmatieteenlaitos.fi/avoin-data
|
|
15 ##
|
|
16 opt_fmi = 0
|
|
17 fmi_api_key = ""
|
|
18
|
|
19 ##
|
|
20 ## Debug mode, outputs some stuff sometimes maybe
|
|
21 ##
|
|
22 debug = 1
|
|
23
|
|
24 ##
|
|
25 ## Path to the output file, should be same as set in weather.tcl
|
|
26 ## If NOT set, the script will output to stdout.
|
|
27 ##
|
|
28 outfile = "/home/niinuska/bot/weather.data"
|
|
29
|
|
30 ##
|
|
31 ## HTTP user agent. If not set here, default will be used.
|
|
32 ##
|
|
33 #http_user_agent = "Mozilla/5.0 (foobar)"
|