TwitterScraper is a Python project that uses Selenium and BeautifulSoup to log in to Twitter, extract user profile information, and collect tweets from a given Twitter user ID.
-
Educational & Practice Use Only: This project is intended solely for educational and personal practice purposes. Do not use this project for any commercial purposes.
-
Credentials and ChromeDriver Path:
Before running the script, please update the following in the code:- Your Twitter
username
andpassword
. - The correct path to your
ChromeDriver
executable.
Note: Ensure the version of ChromeDriver matches your installed Google Chrome version. You can download the appropriate version from ChromeDriver Downloads.
- Your Twitter
- Automated login to Twitter.
- Extraction of tweets, user name, and bio from a Twitter profile.
- Scroll automation to load more tweets (up to a specified maximum).
- Save extracted data in a JSON file.
- Python 3.x
- [Selenium]
- [BeautifulSoup4]
- Google Chrome browser
- ChromeDriver (ensure that the version of ChromeDriver matches your installed version of Google Chrome)
- Clone the Repository:
git clone https://github.com/ItsAbba3/selenium-tweet-escraper-2025.git cd TwitterScraper