Skip to content

tweety scrape all the tweets using python and selenium with No API rate limits. No restrictions. Extremely fast.

License

Notifications You must be signed in to change notification settings

santhoshse7en/tweety

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI Version Coverage Status License Documentation Status

tweety

Twitter's API is annoying to work with, and has lots of limitations. tweety scrape all the tweets using python and selenium - No API rate limits. No restrictions. Extremely fast.

Source Link
PyPI: https://pypi.org/project/tweety/
Repository: https://github.com/santhoshse7en/tweety/
Documentation: https://santhoshse7en.github.io/tweety_doc/

Average Tweets

It appears you can ask for up to 25 pages around tweets reliably (~1200 tweets)

Dependencies

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

Dependencies Installation

Use the package manager pip to install following

pip install -r requirements.txt

Usage

Download it by clicking the green download button here on Github. You only need to parse argument specific Twitter keyword.

>>> from twitter.tweety import tweets
>>> tweety = tweets('Super Deluxe')

Directory of tweety

dirt

Output

>>> print("Polarity Scores" + " : " + str(tweety.final_sentiment_scores))

capture

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Releases

No releases published

Packages

No packages published

Languages