Edit main.py running instructions
This commit is contained in:
+6
-2
@@ -10,9 +10,13 @@ from utils import *
|
|||||||
from visualization import *
|
from visualization import *
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
#####################
|
||||||
|
# Data collection - Step C1.0
|
||||||
# Load config and create API
|
# Load config and create API
|
||||||
conf = load_config('config.json5')
|
# This is required if you would like to collect the data yourself.
|
||||||
api = tweepy_login(conf)
|
# In that case, you also need to register for Twitter API keys and add them to config.json5
|
||||||
|
# conf = load_config('config.json5')
|
||||||
|
# api = tweepy_login(conf)
|
||||||
|
|
||||||
#####################
|
#####################
|
||||||
# Data collection - Step C1.1
|
# Data collection - Step C1.1
|
||||||
|
|||||||
Reference in New Issue
Block a user