Skip to content

Commit

Permalink
use now api end-point for trends
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenwilkin committed Apr 15, 2011
1 parent cc8c648 commit 56abbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/get_trends.rb
Expand Up @@ -7,7 +7,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'
TRENDS = 'http://api.twitter.com/1/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
Expand Down

0 comments on commit 56abbca

Please sign in to comment.