forked from jordan-wright/dumpmon
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.py-example
More file actions
36 lines (27 loc) · 920 Bytes
/
settings.py-example
File metadata and controls
36 lines (27 loc) · 920 Bytes
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
# settings.py
USE_DB = True
DB_HOST = 'localhost'
DB_PORT = 27017
# Twitter Settings
CONSUMER_KEY = 'your_consumer_key'
CONSUMER_SECRET = 'your_consumer_secret'
ACCESS_TOKEN = 'your_access_token'
ACCESS_TOKEN_SECRET = 'your_access_token_secret'
# Thresholds
EMAIL_THRESHOLD = 20
HASH_THRESHOLD = 30
DB_KEYWORDS_THRESHOLD = .55
# Time to Sleep for each site
SLEEP_SLEXY = 60
SLEEP_PASTEBIN = 15
SLEEP_PASTIE = 30
# Other configuration
tweet_history = "tweet.history"
log_file = "output.log"
# This needs to be set to the max you'd expect to pull from a single page!!
# otherwise you will get a rolling queue and possible process parsed URLs more than once
SEEN_DEQUE_LEN = 500
# Status freqquency the bot will spew out status; making math do the work as this is the number of seconds to delay between status updates
STATS_FREQ = 60*10
# This is the screen name of your bot
TWITTER_SCREEN_NAME = 'DataLeakBot'