lib/barometer/weather_services/google.rb in barometer-0.7.1 vs lib/barometer/weather_services/google.rb in barometer-0.7.2

- old
+ new

@@ -129,10 +129,10 @@ # use HTTParty to get the current weather def self._fetch(query, metric=true) return unless query puts "fetch google: #{query.q}" if Barometer::debug? self.get( - "http://google.com/ig/api", + "http://www.google.com/ig/api", :query => {:weather => query.q, :hl => (metric ? "en-GB" : "en-US")}, :format => :xml, :timeout => Barometer.timeout )['xml_api_reply']['weather'] end \ No newline at end of file