This code only works on your local computer not google colab.
Run install the requirements:
pip install -r requirement.txt
Create a file name account.key including username, password, and bearer token to Twitter account Changed the keyword to crawling in config.yaml file\
Create a file name 'data'
Running the code in tweet_crawler.py to start crawling:
python tweet_crawler.py
If you got some problems with install tweety and run code. Try to run:
pip install tweety-ns
pip install https://github.com/mahrtayyab/tweety/archive/main.zip --upgrade