- First step, install requirements for this project:
pip install -r requirement.txt
- Second step, you need to create a file name account.key in key folder containing username, password, and bearer key to your Twitter account
Run the code connectSession.py to connect to your session
- Then, running the code in tweets_crawler_keyword start crawling data based on keyword, which can be modified manually in config_keyword.yaml file:
python tweets_crawler_keyword.py