summaryrefslogtreecommitdiff
path: root/config.py
blob: daaff2f98aeab00becaab83046139d97609c34e2 (plain)
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
#!/usr/bin/python3
# -*- coding: utf-8 -*-


# Space-separated list of readable languages
accepted_languages = 'fr en'

# List of space-separated hashtags to follow, for instance #python #bot
hashtags = '#python #bot'

# Selected keywords to find in Tweets we want to highlight; underscores will be replaced by spaces.
underlined = 'code'

# Keywords to find in Tweets we want to highlight; underscores will be replaced by spaces.
white_kwds = 'you got the idea'

# Case sensitive keywords to find in Tweets we want to highlight; underscores will be replaced by spaces.
cs_white_kwds = 'ARM'

# Keywords leading to reject a Tweet; underscores will be replaced by spaces.
black_kwds = 'trump porn sex download job'

# Case sensitive keywords leading to reject a Tweet; underscores will be replaced by spaces.
cs_black_kwds = 'REP_ARM REPS_ARM'

# Age of old Tweets to get purged in days
max_age = 14

# List of space-separated accounts to follow
accounts = 'laughing_bit'

# List of accounts providing no first hand content
banned_accounts = 'cnn'

banned_accounts_re = '.*bot .*Bot .*career.* .*Career.* .*_jobs .*_Jobs'

banned_titles_re = '.*Parts.* .*Jobs.*'

# Threshold of accepted uppercased words
sensitive_ratio = 50.0