Skip to content
This repository has been archived by the owner on Jul 28, 2019. It is now read-only.

Latest commit

 

History

History
36 lines (28 loc) · 1.25 KB

README.md

File metadata and controls

36 lines (28 loc) · 1.25 KB

TwitPy

Quick and dirty follow/unfollow automation for Twitter.

MIT license built with Selenium built with Python3

Getting started

git clone https://github.com/timgrossmann/TwitPy.git
cd TwitPy
pip install .
# or depending on your system
python setup.py install

Make sure to get the right chromedrive for your system from here. Just put it in /assets.

Now edit the quickstart.py file to your needs.

API

from twitpy import TwitPy

# if you want to run it on a server simply set nogui=True

TwitPy(username="****", password="****",nogui=False) \
  .login() \
  # follows up to 250 accounts from your recommendations
  .follow_from_recom(amount=250) \ 
  # unfollows 100 accounts from your following list
  .unfollow_users(amount=100) \ 
  .end()