Skip to content
Snippets Groups Projects
Commit 6cf70379 authored by Alessandro Elias's avatar Alessandro Elias
Browse files

Remove credentials

parent a7503989
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,6 @@ logging.basicConfig(level=logging.INFO) ...@@ -12,7 +12,6 @@ logging.basicConfig(level=logging.INFO)
def search(api, sincedate, untildate, csvFile, jsonFile): def search(api, sincedate, untildate, csvFile, jsonFile):
searchQuery = '((cota OR cotas OR universidade OR universidades) AND (racial OR raciais)) OR ((universidade OR universidades) AND (cota OR cotas))' searchQuery = '((cota OR cotas OR universidade OR universidades) AND (racial OR raciais)) OR ((universidade OR universidades) AND (cota OR cotas))'
maxTweets = 10000000 maxTweets = 10000000
tweetsPerQry = 100 # this is the max the API permits tweetsPerQry = 100 # this is the max the API permits
...@@ -72,10 +71,10 @@ def search(api, sincedate, untildate, csvFile, jsonFile): ...@@ -72,10 +71,10 @@ def search(api, sincedate, untildate, csvFile, jsonFile):
if __name__ == "__main__": if __name__ == "__main__":
####input your credentials here ####input your credentials here
consumer_key = 'pcn6szyFLVnzxDclKazZ3tQPI' consumer_key = ''
consumer_secret = 'OGKptAjYnoh33mvPEkBPQgcApNXFysbCUx2CjQwjtHhr7Z9unO' consumer_secret = ''
access_token = '1127995977963646977-vqZMlKE8vJLSFMWmL6J9ouEZBncPi1' access_token = ''
access_token_secret = 'xT6WMGkUZJULIMAwpG0AUWtOFYDdGMBYAFSHUZIo9NLYh' access_token_secret = ''
auth = tweepy.OAuthHandler(consumer_key, consumer_secret) auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret) auth.set_access_token(access_token, access_token_secret)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment