Twitter Bot implemented with Python
git clone repo
cd repo
create and activate virtual env
pip install -r requirements.txt
-
For Streaming
cd src
cp ../config.py.example config.py
Fill in the necessary details in config.py
python -m src.bot
ctrl + c to kill the streaming -
For Scraping
cd ..;cd scraper
cp ../extracted_data.json.example extracted_data.json && cp ../extracted_data.json.example hashed_data.json
set your queries in scraper_config.py
python -m scraper.scraper <number of tweets>