diff --git a/collect/twitter_individual.py b/collect/twitter_individual.py new file mode 100644 index 0000000..229e4c0 --- /dev/null +++ b/collect/twitter_individual.py @@ -0,0 +1,10 @@ +import os + +import json5 +import tweepy + +from collect.utils import * + + +if __name__ == '__main__': + conf = load_config() diff --git a/data-collection/twitter_individual.py b/collect/utils.py similarity index 96% rename from data-collection/twitter_individual.py rename to collect/utils.py index f3c512c..6dfdd55 100644 --- a/data-collection/twitter_individual.py +++ b/collect/utils.py @@ -1,7 +1,6 @@ import os import json5 -import tweepy def load_config() -> dict: @@ -15,4 +14,3 @@ def load_config() -> dict: return json5.load(f) else: return json5.loads(os.getenv('config')) -