#!/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