项目作者: timgrossmann

项目描述 :
🕊TwitPy - Follow/Unfollow Automation
高级语言: Python
项目地址: git://github.com/timgrossmann/TwitPy.git
创建时间: 2017-05-30T21:16:46Z
项目社区:https://github.com/timgrossmann/TwitPy

开源协议:MIT License

下载


TwitPy

Quick and dirty follow/unfollow automation for Twitter.

MIT license
built with Selenium
built with Python3

Getting started

  1. git clone https://github.com/timgrossmann/TwitPy.git
  2. cd TwitPy
  3. pip install .
  4. # or depending on your system
  5. 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

  1. from twitpy import TwitPy
  2. # if you want to run it on a server simply set nogui=True
  3. TwitPy(username="****", password="****",nogui=False) \
  4. .login() \
  5. # follows up to 250 accounts from your recommendations
  6. .follow_from_recom(amount=250) \
  7. # unfollows 100 accounts from your following list
  8. .unfollow_users(amount=100) \
  9. .end()