This package is adapted from twitter-scraper. It focused on collecting tweets between start to end date from specific keyword. Also, the output data properties are same as GetOldTweets-python package. Output file format is json.
{
"id": "123456789012345678",
"permalink": "https://twitter.com/username/status/123456789012345678",
"username": "username",
"text": "@abcd @efgh #This is #tweet text",
"datetime": "2017-01-01 11:11",
"retweets": 30,
"favorites": 20,
"mentions": "@abcd @efgh",
"hashtags": "#This #tweet",
"geo": ""
}
simple-twitter-scraper <keyword> <first date(YYYY-MM-DD)> <last date(YYYY-MM-DD)> <output directory>
> npm install -g simple-twitter-scraper
> mkdir tmp_twitter
> cd tmp_twitter
> simple-twitter-scraper obama 2017-01-01 2017-02-01 ./