A python library to unfollow user on twitter automatically.
Project description
Twitter-Auto-Unfollow-Bot is a python library to unfollow user on twitter using browser automation. It currently runs only on windows.
Example
In this example we first import library, then we login with cookies and then unfollow a user.
from twitter_auto_unfollow_bot import * true=True;false=False list_of_cookies=[ { "domain": ".twitter.com", "expirationDate": 1676520136, "hostOnly": false, "httpOnly": false, "name": "_ga", "path": "/", "sameSite": "unspecified", "secure": false, "session": false, "storeId": "0", "value": "GA1.2.1110230825266.1610349768", "id": 1 }] #please replace the above sample cookies with your cookies, can see below link of how to fetch cookies twitter.login_cookie(cookies=list_of_cookies) twitter.unfollow(profile_url='https://twitter.com/LinkedIn')
This module depends on the following python modules
BotStudio
bot_studio is needed for browser automation. As soon as this library is imported in code, automated browser will open up. Complete documentation for Twitter Automation available here
Installation
pip install twitter-auto-unfollow-bot
Import
from twitter_auto_unfollow_bot import *
Login with credentials
twitter.login(username="twitter username",password="twitter password")
Login with cookies
twitter.login_cookie(cookies=list_of_cookies)
Unfollow user
twitter.unfollow(profile_url='profile link of user')
Send Feedback to Developers
bot_studio.send_feedback(feedback="Need help with this ......")
Cookies
To login with cookies Edit this Cookie Extension can be added to browser. Please check this link how to get cookies to login to your twitter.
Contact Us
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for twitter-auto-unfollow-bot-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2671da79de0c256bd9db719a3d06b9417533582f8811227bf57e90927530f2b0 |
|
MD5 | 36ebf745fb623562e3d6d81987cb5c79 |
|
BLAKE2-256 | b494d965e869e43b4161f41fbe15d2c0fc2afafaa2c13437c80e680502ec275c |