edsu/twarc — pull request #20 by hugovk (2014-10-20 14:36:19+00:00)
Title: Utility to filter out tweets older than a certain date

I used twarc to scrape old tweets from a recent event using a hashtag. It also logged tweets from another event which coincidentally used the same hashtag earlier on. Both uses of the hashtag were quite distant and separated by plenty of time.

This utility filters out any tweets older than a given date:

utils\filter_date.py --mindate 1-may-2014 tweets.json > filtered.json

Tested with Python 2.7 on Windows.