ppe-dbpediafinder 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/dbpediafinder.gemspec +1 -1
- data/lib/dbpedia_finder/finder.rb +1 -1
- metadata +1 -1
data/dbpediafinder.gemspec
CHANGED
@@ -40,7 +40,7 @@ module DbpediaFinder
|
|
40
40
|
query = "\"#{label}\" site:en.wikipedia.org"
|
41
41
|
end
|
42
42
|
query = URI.encode(query)
|
43
|
-
google_url_s = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=#{query}"
|
43
|
+
google_url_s = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&key=ABQIAAAAdc829JdHWtQwsQprwWSx5xS3Ndh9OqKhjcL5Rj0GT3CtgkzZLRQSROHz2l0G6XpYssegQwHlH8Jseg&q=#{query}"
|
44
44
|
url = URI.parse(google_url_s)
|
45
45
|
if @proxy
|
46
46
|
h = Net::HTTP::Proxy(@proxy.host, @proxy.port).new(url.host, url.port)
|