4based Followers Scraper and DM Sender
This Python script automates the process of scraping follower usernames from a specific user profile on the website 4based.com
and sending direct messages (DMs) to those followers using two separate accounts. It utilizes the undetected_chromedriver
library to handle browser automation while avoiding detection mechanisms employed by the website.
- Scrapes follower usernames from a specified user profile.
- Saves the unique usernames to a text file (
followers.txt
). - Sends a predefined direct message to each follower using a different account.
- Python
undetected_chromedriver
selenium
You can install the required packages using pip:
pip install undetected-chromedriver selenium