scrapeunblocker 0.18.3 → 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 +12 -0
- data/lib/scrapeunblocker/plugins.rb +99 -73
- 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,17 @@
|
|
|
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
|
+
|
|
9
|
+
## 0.18.5 (2026-11-05)
|
|
10
|
+
|
|
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.
|
|
12
|
+
|
|
13
|
+
No breaking changes.
|
|
14
|
+
|
|
3
15
|
## 0.18.3 (2026-11-03)
|
|
4
16
|
|
|
5
17
|
- `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.
|
|
@@ -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.
|
|
@@ -1029,26 +1035,34 @@ module ScrapeUnblocker
|
|
|
1029
1035
|
# Scrape one Shopee product.
|
|
1030
1036
|
#
|
|
1031
1037
|
# 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
|
-
# (
|
|
1038
|
+
# `country`: `title`, `price`, `originalPrice`, `originalPriceStatus`, `discountPercent`,
|
|
1039
|
+
# `currency`, `rating` (average stars), `labels`, `images`, `shopLocation` and `shop`
|
|
1040
|
+
# (`name`, `username`, `url`, `rating`, `ratingCount`, `followers`, `itemCount`,
|
|
1041
|
+
# `responseRatePercent`, `isOfficialShop`, `isPreferredPlusSeller`, `location`, `joinedAt`).
|
|
1042
|
+
# With `dataLevel: full` it also has `availability` (`in_stock`, `sold_out` or `unavailable`
|
|
1043
|
+
# for a withdrawn listing) and `inStock`, `description`, `brand`, `condition`, `categories`
|
|
1044
|
+
# (the path the product page's breadcrumb shows, with ids), `browseCategories` (the browse
|
|
1045
|
+
# tree, whose ids Shopee's category links use), `videos`, `variations` (option names),
|
|
1046
|
+
# `models` (`modelId`, `name`, `available` - false for a sold-out variation - and
|
|
1047
|
+
# `tierIndex`, the model's option in each variation), `attributes`, `isOfficialShop`,
|
|
1048
|
+
# `isPreOrder`, `estimatedShippingDays` and `createdAt`; `dataLevel: meta` means Shopee
|
|
1049
|
+
# showed only the product's title and main image (some markets), with price, rating and shop
|
|
1050
|
+
# still included. A product Shopee says does not exist (removed, or never existed) answers
|
|
1051
|
+
# 404 with JSON `{"status": "not_found", ...}`; a 502 means the call could not get an answer
|
|
1052
|
+
# from Shopee and can be retried. `price` is what Shopee shows a signed-out shopper, which
|
|
1053
|
+
# can be a promotional or new-customer price (see `labels`). In Brazil a card often shows
|
|
1054
|
+
# the Pix price (`isPixPrice: true`): `price` is then the Pix price and `discountPercent` is
|
|
1055
|
+
# measured against the list price, which Shopee does not show on such a card, so
|
|
1056
|
+
# `originalPrice` is null. `originalPriceStatus` says what a null `originalPrice` means:
|
|
1057
|
+
# `found` (it is set), `no_discount` (Shopee shows no discount, so there is no list price),
|
|
1058
|
+
# `pix` (a Pix price: Shopee does not show the list price), `not_shown` (only the product
|
|
1059
|
+
# page gives a discount, usually one some variations have; Shopee's listings show the
|
|
1060
|
+
# product without one, so there is no crossed-out price to read) or `lookup_failed` (Shopee
|
|
1061
|
+
# shows a discount, but no listing we read in this call showed the crossed-out price; a
|
|
1062
|
+
# retry can find it). A list price once found is answered again while the product keeps the
|
|
1063
|
+
# same price and discount. Not available: per-variation prices, stock counts, units sold,
|
|
1064
|
+
# rating counts and reviews (Shopee does not publish them on the pages these endpoints
|
|
1065
|
+
# read). One unit per call.
|
|
1052
1066
|
#
|
|
1053
1067
|
# @param url [String] A Shopee product link, e.g. https://shopee.sg/Beats-
|
|
1054
1068
|
# iPhone-17-Case-i.442800909.40270108836 or
|
|
@@ -1073,18 +1087,20 @@ module ScrapeUnblocker
|
|
|
1073
1087
|
# Scrape Taobao / Tmall keyword or category listings.
|
|
1074
1088
|
#
|
|
1075
1089
|
# Returns the products Taobao lists for a keyword `q` (or a `category`) as JSON: `products`
|
|
1076
|
-
# (`position`, `itemId`, `
|
|
1077
|
-
# `
|
|
1078
|
-
#
|
|
1079
|
-
#
|
|
1080
|
-
#
|
|
1081
|
-
#
|
|
1082
|
-
#
|
|
1083
|
-
#
|
|
1084
|
-
#
|
|
1085
|
-
#
|
|
1086
|
-
#
|
|
1087
|
-
#
|
|
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
|
|
1088
1104
|
# `/marketplace/taobao-product`. One unit per call.
|
|
1089
1105
|
#
|
|
1090
1106
|
# @param q [String] Keyword, in Chinese or English, e.g. '手机壳', '连衣裙', 'phone case' (Chinese
|
|
@@ -1113,25 +1129,32 @@ module ScrapeUnblocker
|
|
|
1113
1129
|
|
|
1114
1130
|
# Scrape one Taobao / Tmall item.
|
|
1115
1131
|
#
|
|
1116
|
-
# Returns one Taobao or Tmall item (by `item_id` or `url`) as JSON: `itemId`, `
|
|
1117
|
-
# `platform` (taobao / tmall), `title`
|
|
1118
|
-
#
|
|
1119
|
-
# `
|
|
1120
|
-
# `
|
|
1121
|
-
# / neutral / negative split and
|
|
1122
|
-
# `latestReview` (`rating`,
|
|
1123
|
-
# reviewer identity, so no review
|
|
1124
|
-
# `logo`, `sellerType` B = Tmall /
|
|
1125
|
-
# `scores` for description, service and
|
|
1126
|
-
# visitors: variants (SKUs), stock and
|
|
1127
|
-
#
|
|
1128
|
-
#
|
|
1129
|
-
#
|
|
1130
|
-
#
|
|
1131
|
-
#
|
|
1132
|
-
#
|
|
1133
|
-
#
|
|
1134
|
-
#
|
|
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.
|
|
1135
1158
|
# Calls POST /marketplace/taobao-product.
|
|
1136
1159
|
def taobao_product(item_id = nil, url: nil)
|
|
1137
1160
|
post_json("/marketplace/taobao-product", {
|
|
@@ -3471,12 +3494,12 @@ module ScrapeUnblocker
|
|
|
3471
3494
|
#
|
|
3472
3495
|
# Runs the Google Shopping vertical (`udm=28`) for `q` and returns the product cards as
|
|
3473
3496
|
# JSON: `title`, `price`, `currency`, `currencyCode`, `originalPrice`, `discount`,
|
|
3474
|
-
# `merchant`, `rating`, `reviewCount` and Google's own ids for the
|
|
3475
|
-
# `catalogId`, `offerId` - stable across searches, for tracking one
|
|
3476
|
-
# `proxy_country`/`gl` to target a market (prices/merchants are region-
|
|
3477
|
-
# `min_price`/`max_price` to filter. One render returns the first page of
|
|
3478
|
-
# Note: Google Shopping exposes no per-product URL, so `url` is omitted
|
|
3479
|
-
#
|
|
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.
|
|
3480
3503
|
#
|
|
3481
3504
|
# @param q [String] Product search term, e.g. 'wireless headphones'.
|
|
3482
3505
|
# @param gl [String] Market of search, ISO-2, e.g. 'us', 'de'. Sets prices/merchants. API
|
|
@@ -4195,7 +4218,8 @@ module ScrapeUnblocker
|
|
|
4195
4218
|
# `price`, `zestimate`, `rentZestimate`, `beds`, `baths`, `area`, `lotSize`, `yearBuilt`,
|
|
4196
4219
|
# `homeType`, `status`, `description`, `priceHistory`, `taxHistory`, `schools`, `facts`,
|
|
4197
4220
|
# `parking`, listing `brokerName`/`listingAgent`, `mlsid`, `monthlyHoaFee`, `pricePerSqft`,
|
|
4198
|
-
# `daysOnZillow`, `
|
|
4221
|
+
# `daysOnZillow`, `datePosted`, `pageViewCount` and `favoriteCount` (how many people viewed
|
|
4222
|
+
# and saved the listing), `taxAssessedValue`, coordinates, the `photos` gallery and
|
|
4199
4223
|
# `virtualTourUrl`. Every field is always present and is `null` when Zillow does not show it
|
|
4200
4224
|
# for that listing (for-sale and sold pages carry fewer sections than rentals). Companion to
|
|
4201
4225
|
# the Zillow search plugin (`/realestate/zillow`).
|
|
@@ -5077,10 +5101,12 @@ module ScrapeUnblocker
|
|
|
5077
5101
|
# Returns a company's Trustpilot profile and reviews as JSON. `company` is the reviewed
|
|
5078
5102
|
# domain (e.g. `www.nike.com`). The response has a `company` summary (`trustScore`,
|
|
5079
5103
|
# `totalReviews`, `ratingDistribution` 1-5, `categories`, `contact`) and a `reviews` array -
|
|
5080
|
-
# each with `rating`, `title`, `text`, `verified`, `
|
|
5081
|
-
# `
|
|
5082
|
-
#
|
|
5083
|
-
# `
|
|
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`.
|
|
5084
5110
|
#
|
|
5085
5111
|
# @param company [String] The reviewed company's domain, e.g. 'www.nike.com' or 'nike.com'.
|
|
5086
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
|