Scrap tweets from X.com using Python Automation - No API required

Pubblicato il: 25 maggio 2025
sul canale di: PyAgents
866
4

IP Royal Proxies: https://iproyal.com/?r=717810 (My affiliate link to get especial discount on buying proxies)

README on Medium:   / saadkhan6031  

Twitter Data Scraper Tool 🤖

A Python-based tool to scrape tweets from Twitter (X) with automated browser control using PyAutoGUI.

📋 Features

▶ Extracts tweet data including:
👉 Account URLs
👉 Usernames
👉 Tweet text
👉 Hashtags
👉 Mentions
👉 Timestamps
Saves data in both JSON and Excel formats
No API needed - works through browser automation

🔧 Requirements
👉 Python (latest version)
👉 Google Chrome browser
👉 Required packages (install via `pip install -r requirements.txt`)
👉 An active Twitter/X account

🚀 How to Use
1. Login to your Twitter/X account in Google Chrome
2. Open the profile page you want to scrape
3. Run the script: `python tweets_scraper.py`
4. Wait 10 seconds for the page to fully load
5. The scraping process will start automatically

❓ FAQs about this Tool
Question: How many tweets can I scrape per day?
Answer: The limit depends on your Twitter account. Premium accounts can access more data (1000+ tweets per day). More visibility of tweets on your account, the more data you can scrap

Question: Can I scrape images and videos?
Answer: No, this tool only extracts text content from tweets.

Question: Will this get my account blocked?
Answer: This tool uses automation through PyAutoGUI instead of API calls, reducing the risk of account restrictions. However, excessive use might violate Twitter's terms of service.

Question: Does it work on macOS/Linux?
Answer: The tool is tested on Windows only. It may work on other platforms but hasn't been verified.

Question: What is the Screenshots folder for?
Answer: It contains a snapshot of the HTML body tag that helps locate elements for scraping.

📝 Note

This tool is designed for educational and research purposes. Please respect Twitter's terms of service when using it.

Contact:
WhatsApp Number: +92 349 8056763
LinkedIn:   / muhammad-saad-khan1  
Facebook:   / webscrapbot  
X: https://x.com/saadkhang106031

Thanks


In questa pagina del sito puoi guardare il video online Scrap tweets from X.com using Python Automation - No API required della durata di ore minuti seconda in buona qualità , che l'utente ha caricato PyAgents 25 maggio 2025, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 866 volte e gli è piaciuto 4 spettatori. Buona visione!