-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.py
31 lines (26 loc) · 885 Bytes
/
config.py
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
# OAuth authentication keys to Twitter API
ACCESS = [
(
"copy here key 0 oauth.consumerKey",
"copy here key 0 oauth.consumerSecret",
"copy here key 0 oauth.accessToken",
"copy here key 0 oauth.accessTokenSecret"
),
(
"copy here key 1 oauth.consumerKey",
"copy here key 1 oauth.consumerSecret",
"copy here key 1 oauth.accessToken",
"copy here key 1 oauth.accessTokenSecret"
)
]
# track: keywords to be tracked using the Twitter filter API
# tag: string added to the tweet body before indexation to indicate the collection method
KEYWORDS = [
{"tag": "my_tag", "track": "je tu il elle nous"},
]
# language to be tracked using the Twitter filter API.
LANG = "fr"
# approximate file size
FILEBREAK = 300
# example PROXY = {'http': 'http://my_proxy:port', 'https': 'https://my_proxy:port'}
PROXY = {}