Open rajat404 opened 9 years ago
Hi rajat404,
could you use the split function instead of evaluating the config string with ast.literal_eval?
Please put your patch in one logical commit and I'll happily merge it.
Thanks.
Rergards, basti2342
I added the following lines after the search query to read the list of blocked users from twitter:
# get list of blocked users
for user in tweepy.Cursor(api.blocks).items():
`userBlacklist.append(user.screen_name)```
Just don't know how to do the same with the blacklisted words.
Changes are made to get the blacklisted users & words from config file. Also noting that the terms: "RT" and u"♺", are needed to be blacklisted regardless, they are separately added to the list
wordBlacklist
in theretweet.py
file.