-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sample.json
45 lines (45 loc) · 1000 Bytes
/
config.sample.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"db": {
"url": "postgresql://postgres:postgres@/covid_chance",
"partition_size": 1000
},
"feeds": [
{
"name": "Example Feed",
"url": "https://www.example.com/rss.xml"
}
],
"download_feeds": {
"timeout": 30
},
"download_pages": {
"since": "2020-03-01",
"wait_min": 0,
"wait_max": 0,
"timeout": 10
},
"match_lines": {
"keyword_lists": [
["coronavirus", "covid"],
["chance", "opportunity"]
]
},
"parse_lines": {
"pattern": "(?P<parsed>.+)"
},
"post_tweet": {
"profile_name": "Covid-19 is...",
"profile_description_template": "${n_posted}/${n_total}",
"tweet_template": "${text} ${url}"
},
"print_export": {
"context": {
"name": "Covid-19 is...",
"handle": "@covid_chance"
},
"tweets_per_page": 12,
"output_filename_template": "covid_chance-$i.html",
"template_package": ["covid_chance", "templates", "print.html"],
"default_tz": "Europe/Berlin"
}
}