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.
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
Output
>>> print("Polarity Scores" + " : " + str(tweety.final_sentiment_scores))
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