scrapeunblocker 0.18.5 → 0.18.6
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 +71 -53
- 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: b5f215574b158552a6c50f4e9095b14c1da9184d4231784fe509bc3216fcdf24
|
|
4
|
+
data.tar.gz: 59de9ec337fdd6e4335aa9181dd12b40b3d0c7019ec8eb4ab81c748b432bbc52
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9f8529ae798dd9123110bd6a17b8ec3ce9b5223ec9935e338870d531d27f83aeff9fa8de51967d15281720e87000a963a3ac4c0094c1b54c0c93b660e772262
|
|
7
|
+
data.tar.gz: ffc2a8a9a60e24bb08f16998740818a1518047622de48b6f976e6ea91ea971962b0b71eebdc15e65cdc9119e62cba96b1e55e146c382e5649373624d76bbed42
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.18.6 (2026-11-09)
|
|
4
|
+
|
|
5
|
+
- 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.
|
|
6
|
+
|
|
7
|
+
No breaking changes.
|
|
8
|
+
|
|
3
9
|
## 0.18.5 (2026-11-05)
|
|
4
10
|
|
|
5
11
|
- `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.
|
|
@@ -204,9 +204,11 @@ module ScrapeUnblocker
|
|
|
204
204
|
# Scrape Walmart product search.
|
|
205
205
|
#
|
|
206
206
|
# Searches Walmart for `query` and returns the products as JSON: `name`, `price` and
|
|
207
|
-
# `wasPrice`, `rating`, `reviewCount`, `brand`, `seller`, `availability`, `image
|
|
208
|
-
#
|
|
209
|
-
# `
|
|
207
|
+
# `wasPrice`, `rating`, `reviewCount`, `brand`, `seller`, `availability`, `image`, a product
|
|
208
|
+
# `url`, `sponsored`, `unitPrice`, `priceRange`, `promotions`, `fulfillment`,
|
|
209
|
+
# `deliveryAvailable` and `variants`. The response also carries the search's `totalResults`,
|
|
210
|
+
# `pages`, `filters` and `sponsoredProducts`. Sort with `sort`, filter with
|
|
211
|
+
# `min_price`/`max_price`, and collect up to `max_results` across pages.
|
|
210
212
|
#
|
|
211
213
|
# @param query [String] What to search, e.g. 'laptop' or 'coffee maker'.
|
|
212
214
|
# @param sort [String] Ordering: best_match, price_low, price_high, best_seller,
|
|
@@ -238,14 +240,18 @@ module ScrapeUnblocker
|
|
|
238
240
|
# `inStock`, `condition`, `seller` (name, Walmart or marketplace seller, its rating and
|
|
239
241
|
# review count), `additionalSellerCount`, `fulfillment` (shipping, pickup and delivery:
|
|
240
242
|
# available or not, date, fee, store or place), `returnPolicy`, `rating`, `reviewCount`,
|
|
241
|
-
# `reviewSummary` (star histogram, recommend percentage, aspect scores),
|
|
242
|
-
# `
|
|
243
|
-
# `
|
|
244
|
-
#
|
|
245
|
-
#
|
|
246
|
-
#
|
|
247
|
-
#
|
|
248
|
-
#
|
|
243
|
+
# `totalReviewCount`, `reviewSummary` (star histogram, recommend percentage, aspect scores),
|
|
244
|
+
# `reviewSummaryText`, `reviewBullets`, `reviewTopics`, `topPositiveReview`,
|
|
245
|
+
# `topNegativeReview`, the first `reviews`, `offersCount`, `otherOffersFromPrice`,
|
|
246
|
+
# `otherSellers`, `promotions`, `deliveryAvailable`, `pickupAvailable`, `categories`,
|
|
247
|
+
# `relatedPages`, `colors`, `shortDescription`, `description`, `pageSummary`, `highlights`,
|
|
248
|
+
# `specifications`, `directions`, `ingredients`, `activeIngredients`, `nutritionFacts`,
|
|
249
|
+
# `warranty`, `variantOptions` and every `variants` entry (its own item id, attributes,
|
|
250
|
+
# price, stock), `images`, `videos`, `infographics` and `view360Images`. Fulfillment dates
|
|
251
|
+
# and the store are what Walmart quotes for the US location it assigns to the request
|
|
252
|
+
# (`location` names it), not a ZIP code or store you choose. The product page holds only
|
|
253
|
+
# some of the other sellers' offers (`otherSellers`); `offersCount` is how many there are.
|
|
254
|
+
# Companion to `/marketplace/walmart-search`.
|
|
249
255
|
#
|
|
250
256
|
# @param item_id [String] Walmart item id - the number at the end of a product link, e.g.
|
|
251
257
|
# '18638703162' for walmart.com/ip/.../18638703162.
|
|
@@ -1081,18 +1087,20 @@ module ScrapeUnblocker
|
|
|
1081
1087
|
# Scrape Taobao / Tmall keyword or category listings.
|
|
1082
1088
|
#
|
|
1083
1089
|
# Returns the products Taobao lists for a keyword `q` (or a `category`) as JSON: `products`
|
|
1084
|
-
# (`position`, `itemId`, `
|
|
1085
|
-
# `
|
|
1086
|
-
#
|
|
1087
|
-
#
|
|
1088
|
-
#
|
|
1089
|
-
#
|
|
1090
|
-
#
|
|
1091
|
-
#
|
|
1092
|
-
#
|
|
1093
|
-
#
|
|
1094
|
-
#
|
|
1095
|
-
#
|
|
1090
|
+
# (`position`, `itemId`, `itemKey` (the item's catalogue key: pass it to
|
|
1091
|
+
# `/marketplace/taobao-product` as `item_id`), `title`, `url`, `catalogueUrl` (the item's
|
|
1092
|
+
# public catalogue page), `image`, `price` in yuan with `currency` CNY, `priceLabel`
|
|
1093
|
+
# (Taobao's price tag, e.g. 优惠价), `localPrices` (the same price in the storefront's
|
|
1094
|
+
# currency, HKD and TWD), `shopId`, `shopName`, `descriptionMatchScore`, `freeShipping`,
|
|
1095
|
+
# `categoryId`, `rootCategoryId`, `sellingPoints`, `reviewHighlights`), `totalResults` (how
|
|
1096
|
+
# many listings Taobao reports), and `filterOptions` (brand and property facets; pass an
|
|
1097
|
+
# option's `filter` value back as `filter`). Sort by relevance, sales or price and filter by
|
|
1098
|
+
# a yuan price range (products whose listed price falls outside it are left out and counted
|
|
1099
|
+
# in `droppedOutsidePriceRange`). Taobao shows signed-out visitors only the first 20
|
|
1100
|
+
# products of a list, so one call returns up to 20 (narrow with price ranges and filters to
|
|
1101
|
+
# reach more). When Taobao has no list for the keyword, the call answers with the list of
|
|
1102
|
+
# the closest keyword Taobao itself suggests and says so: `keywordSubstituted` true and
|
|
1103
|
+
# `matchedKeyword`. Text comes in Chinese as sellers write it. Companion to
|
|
1096
1104
|
# `/marketplace/taobao-product`. One unit per call.
|
|
1097
1105
|
#
|
|
1098
1106
|
# @param q [String] Keyword, in Chinese or English, e.g. '手机壳', '连衣裙', 'phone case' (Chinese
|
|
@@ -1121,25 +1129,32 @@ module ScrapeUnblocker
|
|
|
1121
1129
|
|
|
1122
1130
|
# Scrape one Taobao / Tmall item.
|
|
1123
1131
|
#
|
|
1124
|
-
# Returns one Taobao or Tmall item (by `item_id` or `url`) as JSON: `itemId`, `
|
|
1125
|
-
# `platform` (taobao / tmall), `title`
|
|
1126
|
-
#
|
|
1127
|
-
# `
|
|
1128
|
-
# `
|
|
1129
|
-
# / neutral / negative split and
|
|
1130
|
-
# `latestReview` (`rating`,
|
|
1131
|
-
# reviewer identity, so no review
|
|
1132
|
-
# `logo`, `sellerType` B = Tmall /
|
|
1133
|
-
# `scores` for description, service and
|
|
1134
|
-
# visitors: variants (SKUs), stock and
|
|
1135
|
-
#
|
|
1136
|
-
#
|
|
1137
|
-
#
|
|
1138
|
-
#
|
|
1139
|
-
#
|
|
1140
|
-
#
|
|
1141
|
-
#
|
|
1142
|
-
#
|
|
1132
|
+
# Returns one Taobao or Tmall item (by `item_id` or `url`) as JSON: `itemId`, `itemKey` (the
|
|
1133
|
+
# item's catalogue key), `url`, `catalogueUrl`, `platform` (taobao / tmall), `title`
|
|
1134
|
+
# (`titleTruncated` when Taobao shortens it, as it does for Tmall items), `price`,
|
|
1135
|
+
# `originalPrice` and `priceMax` (for a price range) in yuan with `currency` CNY, `image`,
|
|
1136
|
+
# `location` (ships from), `categoryId`, `rootCategoryId`, `categoryPath`, `freeShipping`,
|
|
1137
|
+
# `paymentMethods`, `sellableLanguages`, `rating` (positive / neutral / negative split and
|
|
1138
|
+
# counts; Taobao items only, Tmall does not publish it), `latestReview` (`rating`,
|
|
1139
|
+
# `content`, `date`, `variant`, `hasMedia`, `followUps`; no reviewer identity, so no review
|
|
1140
|
+
# photo or video URLs) and `shop` (`shopId`, `name`, `url`, `logo`, `sellerType` B = Tmall /
|
|
1141
|
+
# C = Taobao, `creditLevel`, `openedAt`, `itemCount`, `scores` for description, service and
|
|
1142
|
+
# delivery). This is what Taobao shows signed-out visitors: variants (SKUs), stock and
|
|
1143
|
+
# monthly sales need a Taobao login and are not included. Taobao's public catalogue opens an
|
|
1144
|
+
# item by its catalogue key (`itemKey` in `/marketplace/taobao-search` results, or the key
|
|
1145
|
+
# in a www.taobao.com/list/item/<key>.htm or world.taobao.com/item/<key>.htm link); a
|
|
1146
|
+
# numeric id is tried as given and answers 404 when the catalogue does not open it.
|
|
1147
|
+
# Companion to `/marketplace/taobao-search`. One unit per call.
|
|
1148
|
+
#
|
|
1149
|
+
# @param item_id [String] The item's catalogue key, as `/marketplace/taobao-search` returns
|
|
1150
|
+
# it in `itemKey`, e.g. 'M3hoaXBUL3N4L2VnVUJncG9JWFphZz09'. A numeric Taobao or Tmall item
|
|
1151
|
+
# id (the `id` in item.taobao.com/item.htm?id=...) is tried as given; Taobao's public
|
|
1152
|
+
# catalogue opens items by key, so a numeric id may answer 404.
|
|
1153
|
+
# @param url [String] The item's catalogue link, e.g.
|
|
1154
|
+
# 'https://www.taobao.com/list/item/M3hoaXBUL3N4L2VnVUJncG9JWFphZz09.htm' or
|
|
1155
|
+
# 'https://world.taobao.com/item/M3hoaXBUL3N4L2VnVUJncG9JWFphZz09.htm' (the links Taobao's
|
|
1156
|
+
# own lists and search engines give). An item.taobao.com or detail.tmall.com link is taken
|
|
1157
|
+
# by its numeric id, as `item_id` is. Either item_id or url is required.
|
|
1143
1158
|
# Calls POST /marketplace/taobao-product.
|
|
1144
1159
|
def taobao_product(item_id = nil, url: nil)
|
|
1145
1160
|
post_json("/marketplace/taobao-product", {
|
|
@@ -3479,12 +3494,12 @@ module ScrapeUnblocker
|
|
|
3479
3494
|
#
|
|
3480
3495
|
# Runs the Google Shopping vertical (`udm=28`) for `q` and returns the product cards as
|
|
3481
3496
|
# JSON: `title`, `price`, `currency`, `currencyCode`, `originalPrice`, `discount`,
|
|
3482
|
-
# `merchant`, `rating`, `reviewCount` and Google's own ids for the
|
|
3483
|
-
# `catalogId`, `offerId` - stable across searches, for tracking one
|
|
3484
|
-
# `proxy_country`/`gl` to target a market (prices/merchants are region-
|
|
3485
|
-
# `min_price`/`max_price` to filter. One render returns the first page of
|
|
3486
|
-
# Note: Google Shopping exposes no per-product URL, so `url` is omitted
|
|
3487
|
-
#
|
|
3497
|
+
# `merchant`, `delivery`, `rating`, `reviewCount`, `image` and Google's own ids for the
|
|
3498
|
+
# product (`productId`, `catalogId`, `offerId` - stable across searches, for tracking one
|
|
3499
|
+
# product). Set `proxy_country`/`gl` to target a market (prices/merchants are region-
|
|
3500
|
+
# specific) and `min_price`/`max_price` to filter. One render returns the first page of
|
|
3501
|
+
# products (v1). Note: Google Shopping exposes no per-product URL, so `url` is omitted.
|
|
3502
|
+
# `image` is the product's thumbnail URL.
|
|
3488
3503
|
#
|
|
3489
3504
|
# @param q [String] Product search term, e.g. 'wireless headphones'.
|
|
3490
3505
|
# @param gl [String] Market of search, ISO-2, e.g. 'us', 'de'. Sets prices/merchants. API
|
|
@@ -4203,7 +4218,8 @@ module ScrapeUnblocker
|
|
|
4203
4218
|
# `price`, `zestimate`, `rentZestimate`, `beds`, `baths`, `area`, `lotSize`, `yearBuilt`,
|
|
4204
4219
|
# `homeType`, `status`, `description`, `priceHistory`, `taxHistory`, `schools`, `facts`,
|
|
4205
4220
|
# `parking`, listing `brokerName`/`listingAgent`, `mlsid`, `monthlyHoaFee`, `pricePerSqft`,
|
|
4206
|
-
# `daysOnZillow`, `
|
|
4221
|
+
# `daysOnZillow`, `datePosted`, `pageViewCount` and `favoriteCount` (how many people viewed
|
|
4222
|
+
# and saved the listing), `taxAssessedValue`, coordinates, the `photos` gallery and
|
|
4207
4223
|
# `virtualTourUrl`. Every field is always present and is `null` when Zillow does not show it
|
|
4208
4224
|
# for that listing (for-sale and sold pages carry fewer sections than rentals). Companion to
|
|
4209
4225
|
# the Zillow search plugin (`/realestate/zillow`).
|
|
@@ -5085,10 +5101,12 @@ module ScrapeUnblocker
|
|
|
5085
5101
|
# Returns a company's Trustpilot profile and reviews as JSON. `company` is the reviewed
|
|
5086
5102
|
# domain (e.g. `www.nike.com`). The response has a `company` summary (`trustScore`,
|
|
5087
5103
|
# `totalReviews`, `ratingDistribution` 1-5, `categories`, `contact`) and a `reviews` array -
|
|
5088
|
-
# each with `rating`, `title`, `text`, `verified`, `
|
|
5089
|
-
# `
|
|
5090
|
-
#
|
|
5091
|
-
# `
|
|
5104
|
+
# each with `url`, `rating`, `title`, `text`, `verified`, `verificationLevel`,
|
|
5105
|
+
# `verificationSource`, `source`, `pending`, `merged`, `author` (name, country, review
|
|
5106
|
+
# count, `id`, `image`, `profileUrl`, `reviewsOfThisCompany`), `reply` (the company's
|
|
5107
|
+
# response, with dates) and `date` / `experiencedDate` / `updatedDate`. Page with
|
|
5108
|
+
# `page`/`pages` (20 reviews per page), and filter with `stars`, `sort` (recency/relevancy),
|
|
5109
|
+
# `language`, `date`, `search`, `verified` or `replies`.
|
|
5092
5110
|
#
|
|
5093
5111
|
# @param company [String] The reviewed company's domain, e.g. 'www.nike.com' or 'nike.com'.
|
|
5094
5112
|
# A full site URL or a pasted Trustpilot review URL is also accepted.
|
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.6
|
|
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-09 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
|