Skip to content

cryptorelief/twttr-bot-py

Repository files navigation

twttr_bot_python

Twitter Bot implemented with Python

Installation

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]

About

Twitter Bot implemented with Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages