add URL blacklist; add command_show_blacklist()

This commit is contained in:
urlbot
2014-11-28 19:13:45 +01:00
parent 368469ec7d
commit 31f1e285c6
3 changed files with 37 additions and 1 deletions

View File

@@ -26,6 +26,11 @@ config['path_event_files'] = 'event_files'
config['path_cmdfifo'] = 'cmdfifo'
config['persistent_storage'] = 'urlbot.persistent'
config['url_blacklist'] = [
r'^.*heise\.de/newsticker/.*$',
r'^.*wikipedia\.org/wiki/.*$'
]
# the "dice" feature will use more efficient random data (0) for given users
config['enhanced-random-user'] = ( 'FIXME', 'FIXME' )