scrapeunblocker 0.18.3 → 0.18.5
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/lib/scrapeunblocker/plugins.rb +28 -20
- 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: 0d995759fef0095220f74549789f92fa30d21dbc249bfc4b32bb806330e980af
|
|
4
|
+
data.tar.gz: c4f5d8d760547d8c8b1e389cc3130b1130e50882e2d6b46cb8db5345d9d6f7f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 134166fbca30c41e5bcef5cef32191c4ad9c32ec17509616ff17ec4054352a49fa4a43d6437ebf8eb34654fec949a4d96b0321704dd3966e1e0680d50172152e
|
|
7
|
+
data.tar.gz: 4216f99107c1db6166493edabd06f711942fd685637f02ff92493fa6da32fb30c35c45eaa27142bc068be7bbe4c357926dbfb99bdd1b537351583acc8a7415d7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.18.5 (2026-11-05)
|
|
4
|
+
|
|
5
|
+
- `shopee_product` documents the new `originalPriceStatus` field, which says what a null `originalPrice` means: `found` (it is set), `no_discount` (no discount, so no list price), `pix` (a Pix price, whose list price Shopee does not show), `not_shown` (only the product page gives a discount; Shopee's listings show none) or `lookup_failed` (a retry can find it). No code change: the method returns the API's JSON as it is.
|
|
6
|
+
|
|
7
|
+
No breaking changes.
|
|
8
|
+
|
|
3
9
|
## 0.18.3 (2026-11-03)
|
|
4
10
|
|
|
5
11
|
- `crunchbase_company` documents the fields the API now fills from the company's own homepage when Crunchbase leaves them empty: `seoDescription`, `coverImage`, `employeeCount`, `linkedinId`, `headquarters.street` / `postalCode`, the `instagram`, `youtube` and `github` social links, and `fromWebsite` naming the keys that came from the homepage.
|
|
@@ -1029,26 +1029,34 @@ module ScrapeUnblocker
|
|
|
1029
1029
|
# Scrape one Shopee product.
|
|
1030
1030
|
#
|
|
1031
1031
|
# One Shopee product as JSON, from a product link (`url`) or `shop_id` + `item_id` +
|
|
1032
|
-
# `country`: `title`, `price`, `originalPrice`, `
|
|
1033
|
-
# (average stars), `labels`, `images`, `shopLocation` and `shop`
|
|
1034
|
-
# `rating`, `ratingCount`, `followers`, `itemCount`,
|
|
1035
|
-
# `isOfficialShop`, `isPreferredPlusSeller`, `location`, `joinedAt`).
|
|
1036
|
-
# it also has `availability` (`in_stock`, `sold_out` or `unavailable`
|
|
1037
|
-
# listing) and `inStock`, `description`, `brand`, `condition`, `categories`
|
|
1038
|
-
# product page's breadcrumb shows, with ids), `browseCategories` (the browse
|
|
1039
|
-
# Shopee's category links use), `videos`, `variations` (option names),
|
|
1040
|
-
# `name`, `available` - false for a sold-out variation - and
|
|
1041
|
-
# in each variation), `attributes`, `isOfficialShop`,
|
|
1042
|
-
# and `createdAt`; `dataLevel: meta` means Shopee
|
|
1043
|
-
# image (some markets), with price, rating and shop
|
|
1044
|
-
# does not exist (removed, or never existed) answers
|
|
1045
|
-
# ...}`; a 502 means the call could not get an answer
|
|
1046
|
-
# `price` is what Shopee shows a signed-out shopper, which
|
|
1047
|
-
# customer price (see `labels`). In Brazil a card often shows
|
|
1048
|
-
# true`): `price` is then the Pix price and `discountPercent` is
|
|
1049
|
-
# price, which Shopee does not show on such a card, so
|
|
1050
|
-
#
|
|
1051
|
-
# (
|
|
1032
|
+
# `country`: `title`, `price`, `originalPrice`, `originalPriceStatus`, `discountPercent`,
|
|
1033
|
+
# `currency`, `rating` (average stars), `labels`, `images`, `shopLocation` and `shop`
|
|
1034
|
+
# (`name`, `username`, `url`, `rating`, `ratingCount`, `followers`, `itemCount`,
|
|
1035
|
+
# `responseRatePercent`, `isOfficialShop`, `isPreferredPlusSeller`, `location`, `joinedAt`).
|
|
1036
|
+
# With `dataLevel: full` it also has `availability` (`in_stock`, `sold_out` or `unavailable`
|
|
1037
|
+
# for a withdrawn listing) and `inStock`, `description`, `brand`, `condition`, `categories`
|
|
1038
|
+
# (the path the product page's breadcrumb shows, with ids), `browseCategories` (the browse
|
|
1039
|
+
# tree, whose ids Shopee's category links use), `videos`, `variations` (option names),
|
|
1040
|
+
# `models` (`modelId`, `name`, `available` - false for a sold-out variation - and
|
|
1041
|
+
# `tierIndex`, the model's option in each variation), `attributes`, `isOfficialShop`,
|
|
1042
|
+
# `isPreOrder`, `estimatedShippingDays` and `createdAt`; `dataLevel: meta` means Shopee
|
|
1043
|
+
# showed only the product's title and main image (some markets), with price, rating and shop
|
|
1044
|
+
# still included. A product Shopee says does not exist (removed, or never existed) answers
|
|
1045
|
+
# 404 with JSON `{"status": "not_found", ...}`; a 502 means the call could not get an answer
|
|
1046
|
+
# from Shopee and can be retried. `price` is what Shopee shows a signed-out shopper, which
|
|
1047
|
+
# can be a promotional or new-customer price (see `labels`). In Brazil a card often shows
|
|
1048
|
+
# the Pix price (`isPixPrice: true`): `price` is then the Pix price and `discountPercent` is
|
|
1049
|
+
# measured against the list price, which Shopee does not show on such a card, so
|
|
1050
|
+
# `originalPrice` is null. `originalPriceStatus` says what a null `originalPrice` means:
|
|
1051
|
+
# `found` (it is set), `no_discount` (Shopee shows no discount, so there is no list price),
|
|
1052
|
+
# `pix` (a Pix price: Shopee does not show the list price), `not_shown` (only the product
|
|
1053
|
+
# page gives a discount, usually one some variations have; Shopee's listings show the
|
|
1054
|
+
# product without one, so there is no crossed-out price to read) or `lookup_failed` (Shopee
|
|
1055
|
+
# shows a discount, but no listing we read in this call showed the crossed-out price; a
|
|
1056
|
+
# retry can find it). A list price once found is answered again while the product keeps the
|
|
1057
|
+
# same price and discount. Not available: per-variation prices, stock counts, units sold,
|
|
1058
|
+
# rating counts and reviews (Shopee does not publish them on the pages these endpoints
|
|
1059
|
+
# read). One unit per call.
|
|
1052
1060
|
#
|
|
1053
1061
|
# @param url [String] A Shopee product link, e.g. https://shopee.sg/Beats-
|
|
1054
1062
|
# iPhone-17-Case-i.442800909.40270108836 or
|
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.18.
|
|
4
|
+
version: 0.18.5
|
|
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-05 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
|