lib/outscraper.rb in outscraper-0.1.2 vs lib/outscraper.rb in outscraper-0.1.3
- old
+ new
@@ -12,10 +12,10 @@
def initialize(api_key)
self.class.headers 'X-API-KEY' => api_key
end
def google_search(query, pages_per_query: 1, uule: '', language: 'en', region: nil)
- response = self.class.get("google-search-v2", 'query': {
+ response = self.class.get("/google-search-v2", 'query': {
query: query,
pagesPerQuery: pages_per_query,
uule: uule,
language: language,
region: region,