scrapeunblocker 0.18.6 → 0.19.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 +6 -0
- data/README.md +11 -0
- data/lib/scrapeunblocker/client.rb +12 -2
- data/lib/scrapeunblocker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9ce0dab6107d17a3f97bf4dd1b987c7c959abae65f366b05bd517622c835c716
|
|
4
|
+
data.tar.gz: aa000b55837243f345af4485ec03ca9de0520f52ba525aee19e3db49c18b0320
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 33d9fd7019a3fb09db76d43b8616159c3f25cbc499c4f5bbab86520cf9640373db592fc81855c08de45e0a9fe78ccf50932fc45bcd1b1f5e3cce409af3c02981
|
|
7
|
+
data.tar.gz: 6995b58f61f1ed2fd87f0b905d1b3ef3de2101d52d7e432d158c471d79ed187da51c294e0aeb95163e23891fb8fa78b228ad69a1ae408816de28be59c1ba42d5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.19.0 (2026-11-11)
|
|
4
|
+
|
|
5
|
+
- `serp` takes the new `full_urls:` keyword. Google gives out a results page's real links a few at a time, the last ones up to about 40 seconds after the search; by default the call returns sooner and a result whose link has not come yet has the site's home page as its `url` (or a Google redirect link). `full_urls: true` waits until every result has its real URL, so the call takes up to about 40 seconds longer. Billed the same. The parameter is only sent when true, so other requests are unchanged.
|
|
6
|
+
|
|
7
|
+
No breaking changes.
|
|
8
|
+
|
|
3
9
|
## 0.18.6 (2026-11-09)
|
|
4
10
|
|
|
5
11
|
- Plugin method docs list the new response fields: Walmart product and search, Amazon product, Trustpilot reviews, Zillow property detail and Google Shopping. Taobao item methods document the catalogue key (`itemKey`). Requests are unchanged.
|
data/README.md
CHANGED
|
@@ -182,6 +182,17 @@ serp["organic"].each { |r| puts [r["position"], r["title"], r["url"], r["date"],
|
|
|
182
182
|
p serp["peopleAlsoAsk"], serp["relatedSearchLinks"], serp["knowledgeGraph"], serp["topStories"]
|
|
183
183
|
```
|
|
184
184
|
|
|
185
|
+
Google gives out a results page's real result links a few at a time, the last
|
|
186
|
+
ones up to about 40 seconds after the search. By default `serp` returns
|
|
187
|
+
sooner, and a result whose link has not come yet has the site's home page as
|
|
188
|
+
its `url` (or a Google redirect link when Google shows no site). Pass
|
|
189
|
+
`full_urls: true` to wait until (nearly) every result has its real URL: the
|
|
190
|
+
call then takes up to about 40 seconds longer and is billed the same.
|
|
191
|
+
|
|
192
|
+
```ruby
|
|
193
|
+
serp = su.serp("best hiking boots", full_urls: true)
|
|
194
|
+
```
|
|
195
|
+
|
|
185
196
|
## Google Local (Maps)
|
|
186
197
|
|
|
187
198
|
```ruby
|
|
@@ -137,12 +137,22 @@ module ScrapeUnblocker
|
|
|
137
137
|
# localResults, shoppingResults and spellingCorrection (each empty or nil
|
|
138
138
|
# when Google shows none).
|
|
139
139
|
# +captcha_pause+ is kept for compatibility; the API ignores it.
|
|
140
|
-
|
|
140
|
+
#
|
|
141
|
+
# +full_urls+ waits until Google gives out every result's real URL.
|
|
142
|
+
# Google releases a results page's links a few at a time, the last ones
|
|
143
|
+
# up to about 40 seconds after the search. Without it the call returns
|
|
144
|
+
# sooner, and a result whose link has not come yet has the site's home
|
|
145
|
+
# page as its "url" (or a Google redirect link when Google shows no
|
|
146
|
+
# site). With it, the call takes up to about 40 seconds longer. Billed
|
|
147
|
+
# the same.
|
|
148
|
+
def serp(keyword, proxy_country: nil, pages_to_check: 1, wait_after_load: 0, captcha_pause: 0,
|
|
149
|
+
full_urls: false)
|
|
141
150
|
post_json("/serpApi",
|
|
142
151
|
keyword: keyword, proxy_country: proxy_country,
|
|
143
152
|
pages_to_check: pages_to_check,
|
|
144
153
|
wait_after_load: (wait_after_load.zero? ? nil : wait_after_load),
|
|
145
|
-
captcha_pause: (captcha_pause.zero? ? nil : captcha_pause)
|
|
154
|
+
captcha_pause: (captcha_pause.zero? ? nil : captcha_pause),
|
|
155
|
+
full_urls: (full_urls ? true : nil))
|
|
146
156
|
end
|
|
147
157
|
|
|
148
158
|
# Search Google Local (Maps) and return the businesses as a Hash.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: scrapeunblocker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.19.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ScrapeUnblocker
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: JS-rendered pages that bypass Cloudflare, DataDome, PerimeterX and Akamai,
|
|
14
14
|
plus Google SERP and 100+ ready-made site plugins (Amazon, Walmart, Zillow, Google
|