Twitter Bot implemented with Python
clone the repo
cd repo
create and activate virtual env
pip install -r requirements.txt
-
For Streaming
cd src
create a file "config.py" with the contents of "config.py.example" and the corresponding values
python -m src.bot
ctrl + c to kill the streaming -
For Scraping
cd scraper
create a file "extracted_data.json" and "hashed_data.json" with the contents of "extracted_data.json.example"
set your queries in scraper_config.py
python -m scraper.scraper [number of tweets]