Skip to content

Commit

Permalink
trends data saved into var/
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenwilkin committed Aug 27, 2009
1 parent 2de7c7c commit ff40ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/get_trends.rb
Expand Up @@ -8,7 +8,7 @@
# `gbv=1` causes finshed html page to be returned instead of a huge amount of javascript # `gbv=1` causes finshed html page to be returned instead of a huge amount of javascript
SEARCH = 'http://images.google.com/images?gbv=1&q=' SEARCH = 'http://images.google.com/images?gbv=1&q='
TRENDS = 'http://search.twitter.com/trends.json' TRENDS = 'http://search.twitter.com/trends.json'
RESULTS = 'trends.json' RESULTS = File.dirname(__FILE__) + '/../var/trends.json'


# peforms a google image search for `q` and returns the url of the first image returned # peforms a google image search for `q` and returns the url of the first image returned
def image_search(q) def image_search(q)
Expand Down

0 comments on commit ff40ca4

Please sign in to comment.