summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'config.py')
-rw-r--r--config.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/config.py b/config.py
index 051de6c..4d6f75d 100644
--- a/config.py
+++ b/config.py
@@ -2,14 +2,36 @@
# -*- 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.*'