Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

trends data saved into var/

  • Loading branch information...
commit ff40ca41ea2911168acc8f10ff1094ae26f9e0ce 1 parent 2de7c7c
@stevenwilkin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/get_trends.rb
View
2  lib/get_trends.rb
@@ -8,7 +8,7 @@
# `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='
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
def image_search(q)
Please sign in to comment.
Something went wrong with that request. Please try again.