Twitter-Scraper is a lightweight Python utility that fetches tweets from X (formerly Twitter) and saves them into a plain text (.txt) file. Ideal for quick data collection, offline analysis, or logging tweet history.
- Fetch tweets from a specified user or search query.
- Optionally detect and skip duplicate tweets using
duplicate_detector.py. - Tested setup for Chrome WebDriver (
test_chromedriver.py). - Minimal dependencies for simple integration.
- Python 3.8+
- ChromeDriver installed and in your PATH
git clone https://github.com/ken00H/Twitter-Scraper.git
cd Twitter-Scraper
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt