outscraper 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b66fc01576ea9dff887e9336c73423c6dbed6ea82d091fe2177162d340f030e6
4
- data.tar.gz: fdcb6d27d503ca9bf3a9c6743319c5ae1d2ef2157cc0856cf055467adffa4776
3
+ metadata.gz: ecd1b55729f33ebcce279af3365a4418c44fc070f00c322a7c95c343216cfa2f
4
+ data.tar.gz: 98808bea598828ff72b51abf5e05eb008ce51cba8f9e6f773a5d93f7b90edffd
5
5
  SHA512:
6
- metadata.gz: 1ecb718df5321d0487452e4b8761099d5f5f95c92c3652952d26e5d511928f2cc3ddae5f21d743ddf5670b29a12a920740f4bbbd4b7528236d492c337a562a71
7
- data.tar.gz: 66f03c71146ddf9d0c22f4278046222584b1360d5600a616b395fe7d4f2d7f7a967c86ba38082c71a8859ae4f98aca48feaa990cee97cd63ba7f942581ca1f9e
6
+ metadata.gz: c73198998dc45e0161b84f0bab6e0e1c5ff5b54dc255c0c61d6a720c5f4449bf5a44a36ed2eb763da400c90b6e3046eb9a2390335e2013776dbfaeba1bd73bd5
7
+ data.tar.gz: 68e5203217a94f9ab6ae6964f569a7a75909d68787b44c13388c28b120fca8b3aec518a6cd0a995efd0651f186b3a2f59339242c837b1b5e59ec921350d36fc3
data/CHANGELOG.md CHANGED
@@ -6,4 +6,4 @@
6
6
 
7
7
  ## [1.0.0] - 2022-07-16
8
8
 
9
- - Use latests versions by default
9
+ - Use the latest versions by default
@@ -1,6 +1,11 @@
1
1
  # Google Maps Reviews Scraper With Ruby
2
2
 
3
3
  The library provides real-time access to the reviews from Google Maps via [Outscraper API](https://app.outscraper.com/api-docs#tag/Google-Reviews).
4
+ It allows scraping all the reviews from any place on Google Maps within seconds.
5
+
6
+ - Not limited to the official Google API limit of 5 reviews per a place
7
+ - Real time data scraping with response time less than 3s
8
+ - Sort, skip, ignore, cutoff, and other advanced parameters
4
9
 
5
10
  ## Installation
6
11
 
@@ -1,6 +1,7 @@
1
1
  # Google Maps Scraper With Ruby
2
2
 
3
3
  The library provides real-time access to the places from Google Maps via [Outscraper API](https://app.outscraper.com/api-docs#tag/Google-Maps).
4
+ It allows easy scraping of [businesses information](https://outscraper.com/google-maps-scraper/#dictionary) from Google Maps.
4
5
 
5
6
  ## Installation
6
7
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Outscraper
4
- VERSION = "0.1.4"
4
+ VERSION = "0.2.0"
5
5
  end
data/lib/outscraper.rb CHANGED
@@ -10,7 +10,7 @@ module Outscraper
10
10
  base_uri 'https://api.app.outscraper.com'
11
11
 
12
12
  def initialize(api_key)
13
- self.class.headers 'X-API-KEY' => api_key
13
+ self.class.headers 'X-API-KEY' => api_key, 'Accept-Encoding' => 'utf-8'
14
14
  end
15
15
 
16
16
  def google_search(query, pages_per_query: 1, uule: '', language: 'en', region: nil)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: outscraper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Outscraper
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-10 00:00:00.000000000 Z
11
+ date: 2024-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 2.6.0
69
+ version: 2.7.0
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.0.3.1
76
+ rubygems_version: 3.1.6
77
77
  signing_key:
78
78
  specification_version: 4
79
79
  summary: Ruby bindings for the Outscraper API