floogulinc / tweety

Twitter Scraper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tweety

Twitter's API is annoying to work with, and has lots of limitations — luckily their frontend (JavaScript) has it's own API, which I reverse–engineered. No API rate limits. No restrictions. Extremely fast.

Downloads

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Internet Connection
  • Python 3.6+
  • BeautifulSoup (Python Module)
  • Requests (Python Module)
  • openpyxl (Python Module)
  • wget (Python Module) [Optional , you need to install it manually]

Installation:

pip install tweety-ns

A Quick Example:

  from tweety.bot import Twitter
  
  app = Twitter("elonmusk")
  
  all_tweets = app.get_tweets()
  for tweet in all_tweets:
      print(tweet)

Full Documentation and Changelogs are here

About

Twitter Scraper


Languages

Language:Python 100.0%