A twitter scraper that makes use of Tweepy API to scrape tweets from a particular tag and stores them in a database using mongodb.
It needs a Twitter developer account and MongoDB installed.
- Enter the credentials from the Twitter dev account.
- The tweets are stored in the MongoDB under as scrapped_tweets, which can be modified as per needs.
- The maximum number of tweets and the tag to be collected from can also be changed in the script accordingly.
- By default, they are 5000 and #blacklivesmatter respectively.