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 +4 -4
- data/CHANGELOG.md +1 -1
- data/examples/Google Maps Reviews.md +5 -0
- data/examples/Google Maps.md +1 -0
- data/lib/outscraper/version.rb +1 -1
- data/lib/outscraper.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecd1b55729f33ebcce279af3365a4418c44fc070f00c322a7c95c343216cfa2f
|
4
|
+
data.tar.gz: 98808bea598828ff72b51abf5e05eb008ce51cba8f9e6f773a5d93f7b90edffd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c73198998dc45e0161b84f0bab6e0e1c5ff5b54dc255c0c61d6a720c5f4449bf5a44a36ed2eb763da400c90b6e3046eb9a2390335e2013776dbfaeba1bd73bd5
|
7
|
+
data.tar.gz: 68e5203217a94f9ab6ae6964f569a7a75909d68787b44c13388c28b120fca8b3aec518a6cd0a995efd0651f186b3a2f59339242c837b1b5e59ec921350d36fc3
|
data/CHANGELOG.md
CHANGED
@@ -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
|
|
data/examples/Google Maps.md
CHANGED
@@ -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
|
|
data/lib/outscraper/version.rb
CHANGED
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.
|
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:
|
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.
|
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.
|
76
|
+
rubygems_version: 3.1.6
|
77
77
|
signing_key:
|
78
78
|
specification_version: 4
|
79
79
|
summary: Ruby bindings for the Outscraper API
|