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