objectivecosta / TweetCensor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a file named credentials.py, as follows

import twitter

api = twitter.Api(consumer_key='<consumer_key>',
                  consumer_secret='<consumer_secret>',
                  access_token_key='<access_token>',
                  access_token_secret='<access_token_secret>')

Download your Twitter archive and put the tweets.csv tweet.js file in the root of the project.

Select words to censor as follows:

python censor.py [word1] [word2] ... [wordn]

Confirm and voilĂ .

Cheers! ;)

About


Languages

Language:Python 100.0%Language:Shell 0.0%