This Python bot checks your internet speed using Speedtest.net and tweets at your internet provider (or university) if your speeds are lower than expected. Built with Selenium and designed for automation.
- Opens Speedtest.net and runs a speed test.
- Captures download and upload speeds.
- Logs into Twitter (X) using your credentials.
- Posts a tweet tagging your provider with the current speeds and a complaint.
- Python 3.11+
- Selenium
- Python
dotenvfor environment variable management
git clone https://github.com/ajs2583/internet-speed-complaint-bot.git
cd internet-speed-complaint-botAdd your Twitter credentials in a .env file:
X_EMAIL=your-email@example.com
X_PASSWORD=your-twitter-password
X_USERNAME=your-twitter-username-or-handle⚠Warning: Never upload your
.envfile to GitHub!
pip install -r requirements.txtrequirements.txt contents:
selenium
python-dotenv
python main.pyMake sure your Chrome browser and chromedriver are compatible and accessible via your system PATH.
Update the Twitter handle to tag your provider in main.py:
UNIS_TAG = "CoxComm" # Or use your university's handle like "NAU"- Use this bot responsibly.
- Meant for educational and entertainment purposes.
- Keep your login credentials secure and private.
This project is licensed under the MIT License.