Skip to content

Archives results from your Twitter saved searches for later perusal/parsing

Notifications You must be signed in to change notification settings

jamiew/searchsaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Searchsaver
----

This utility grabs all of your Twitter saved searches, downloads the results,
and then runs every N minutes to grab new search results. Searchsaver: saves searches.

Twitter currently doesn't display search results older than just a few days, 
which is a shame when you're looking for an old tweet or are interested in 
measuring results over time.

Each search result set's JSON is saved to disk in its entirety for simplicity (no sqlite etc)
This means you'll need to read them all and merge by hand come processing-time


Dependencies
------------

  sudo gem install mechanize json cgi


Configuration
-------------

1. copy config.sample.yml to config.yml and edit
2. ruby archive.rb
3. enjoy your tweets!


Usage
-----

Run forever, downloading every N seconds: 

  ruby archive.rb

Run once (e.g. via cron): 

  LOOP=0 ruby archive.rb 


Info
----

Source code released under an MIT License
2010 / Jamie Wilkinson / Free Art & Technology (FAT Lab)
"Speed Project Approved: 30 mins"

[@jamiew](http://twitter.com/jamiew) / [github.com/jamiew](http://github.com/jamiew)
[http://jamiedubs.com](jamiedubs.com) | [fffff.at](http://fffff.at)

About

Archives results from your Twitter saved searches for later perusal/parsing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages