https://github.com/timgrossmann/twitpy
🕊TwitPy - Follow/Unfollow Automation
https://github.com/timgrossmann/twitpy
automation bot python selenium twitter
Last synced: about 1 month ago
JSON representation
🕊TwitPy - Follow/Unfollow Automation
- Host: GitHub
- URL: https://github.com/timgrossmann/twitpy
- Owner: timgrossmann
- License: mit
- Created: 2017-05-30T21:16:46.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-03T11:43:21.000Z (over 4 years ago)
- Last Synced: 2025-03-19T00:04:02.270Z (about 1 month ago)
- Topics: automation, bot, python, selenium, twitter
- Language: Python
- Homepage:
- Size: 4.56 MB
- Stars: 104
- Watchers: 12
- Forks: 31
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TwitPy
### Quick and dirty follow/unfollow automation for Twitter.
[](https://github.com/timgrossmann/InstaPy/blob/master/LICENSE)
[](https://github.com/SeleniumHQ/selenium)
[](https://www.python.org/)#### Getting started
```bash
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](https://sites.google.com/a/chromium.org/chromedriver/downloads). Just put it in /assets.
Now edit the `quickstart.py` file to your needs.
#### API
```python
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()
```