Skip to content

A Twitter Bot implemented in Python using the official Twitter API

Notifications You must be signed in to change notification settings

pranftw/twttr-bot

Repository files navigation

twttr_bot

Twitter Bot implemented with Python

Installation

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>

About

A Twitter Bot implemented in Python using the official Twitter API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages