Skip to content

Latest commit

 

History

History
90 lines (58 loc) · 2.54 KB

File metadata and controls

90 lines (58 loc) · 2.54 KB

PyPI Version License Documentation Status Downloads

🐦 Tweety

Tweety is a Python-based tweet scraper that bypasses Twitter’s API limitations by using Selenium to collect tweets directly from the web. No API keys, no rate limits, no restrictions — just fast and flexible scraping.


🔗 Project Links

Resource URL
🐍 PyPI tweety on PyPI
🛠 Repository GitHub Repo
📚 Documentation Documentation

✨ Features

  • 🔍 Scrape tweets by keyword/topic — no login required
  • 🚫 No Twitter API needed — no rate limits!
  • 🧠 Sentiment analysis using VADER and TextBlob
  • 📊 Structured output using pandas

🧪 You can scrape ~25 pages (~1200 tweets) reliably in one run.


📦 Dependencies

  • beautifulsoup4
  • selenium
  • chromedriver-binary
  • vaderSentiment
  • textblob
  • pandas

📥 Installation

Install the dependencies with pip:

pip install -r requirements.txt

⚙️ Usage

from twitter.tweety import tweets

# Scrape tweets related to "Super Deluxe"
tweety = tweets("Super Deluxe")

# Print sentiment analysis results
print("Polarity Scores : " + str(tweety.final_sentiment_scores))

📂 Tweety Directory Structure

Directory Structure

📊 Output Example

Polarity Scores : {'positive': 0.55, 'neutral': 0.35, 'negative': 0.10}

Output Screenshot


🤝 Contributing

Contributions are welcome! For major changes, please open an issue first to discuss what you'd like to improve. Don't forget to update or add tests as needed.


📜 License

This project is licensed under the MIT License.