• Stars
    star
    101
  • Rank 336,261 (Top 7 %)
  • Language
    Python
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ•ŠTwitPy - Follow/Unfollow Automation

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()