-
Notifications
You must be signed in to change notification settings - Fork 1
/
config-sample.py
34 lines (27 loc) · 1.07 KB
/
config-sample.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
31
32
33
34
# Create these on https://apps.twitter.com/ and paste them here.
# The application you create does not need to have write permissions
consumer_key = 'x'
consumer_secret = 'x'
access_token = 'x'
access_token_secret = 'x'
# How many items to process per list
n_items = 30
# If we are interested only in tweets that contain links,
# set this to True (default). Otherwise, it will gather all
# links.
only_links = True
# The folder to write the XML files
output_folder = "."
# A list of lists to obtain, with elements in format (user, listname). If
# you include your own lists, they can be private.
get_lists = [('user1', 'list1'),
('user1', 'list2'),
('user2', 'list3')]
# We can also obtain lists (from our own user) that use a given prefix
# in their names. If we don't want to use this option, set it to None
prefix = 'rss-'
# A list of searches to include. To disable, set it to None.
get_searches = ["morning briefing from:nytimes"]
# Domains for which you don't wish to be bothered about.
# Disable with forbidden_domains = []
forbidden_domains = ['paper.li']