scrapeunblocker 0.15.0 → 0.15.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 873882960dc063a6f097269c0eabe1310fedcc29c207ce7c049dae4d22dada23
4
- data.tar.gz: 6e14cfaa7afc02e1efc5934347b6ec91286a49beeb7daa7b85fa329afa0f0b41
3
+ metadata.gz: 3f62e1ad297dc0829c5aad20c1c09208595bb459b733b87d862c585fe64e12e5
4
+ data.tar.gz: 9ce26e1db98023c5373d90229f0f9545fc11f71f28ba143e82710305aab6a811
5
5
  SHA512:
6
- metadata.gz: f1fecd1b6ad4b3027a96f2d87e53c9935cca6c2071403c4a9175f032e00cf7e5fc439307515d305b5e814013dcde6d04c77682c9500955a8262c341d7b13417c
7
- data.tar.gz: 05362a2204cd66d3fb1bde32486547c5b300a5c2f3d6a9082ad9e583bde3de13c08f98b04576aaddb2ea877ee48c9602f2ba76fb0c1cdca26050ed71859d0555
6
+ metadata.gz: 150e385abf9ae36cde1653f4c411ab43d3735f6267fb6c8aab24d43caf37aa3da4dd8c7f6833dd6b207f45b374d01e6112f4a27e4a7007b4bcba2c812ce83b3e
7
+ data.tar.gz: 2a7c1c9b01e7821b80dfd590e650a2766b56ecccaa28ae16c1b219f6ce2022d7b4d33c2108e33eed17319f794e9c052dbe6977a00964a201b15853fdadeefbf2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.15.1 (2026-10-29)
4
+
5
+ - `shopee_product` and `shopee_search` docs: describe `availability` and `inStock`, sold-out variations (`models[].available`, `tierIndex`), `categories` as the breadcrumb path plus `browseCategories`, `isPixPrice` (Brazilian Pix prices) and the JSON `{"status": "not_found", ...}` answer for a product that does not exist. Signatures are unchanged.
6
+
3
7
  ## 0.15.0 (2026-10-29)
4
8
 
5
9
  - 23 new plugin methods on `Client`:
@@ -793,15 +793,18 @@ module ScrapeUnblocker
793
793
  # Searches a Shopee market (Singapore, Indonesia, Malaysia, Thailand, Vietnam, Philippines,
794
794
  # Taiwan or Brazil - `country`) for `q` and returns one page of results: up to 40
795
795
  # `products`, each with `position`, `itemId`, `shopId`, `name`, `url`, `image`, `price`,
796
- # `originalPrice` (when Shopee shows the crossed-out price), `discountPercent`, `currency`,
797
- # `rating` (average stars), `location` (where the seller ships from) and `labels` (promotion
798
- # badges). `sort` orders the results, `min_price` / `max_price` filter them, `shop_id` keeps
799
- # one shop's products (or lists the shop without `q`), and `url` takes a Shopee search or
800
- # category link instead. Shopee shows one page per search, so run several sort orders or
801
- # price ranges for more products. `price` is what Shopee shows a signed-out shopper, which
802
- # can be a promotional or new-customer price (see `labels`). Not available: stock, units
803
- # sold, rating counts and reviews (Shopee does not publish them on the pages these endpoints
804
- # read). One unit per call.
796
+ # `originalPrice` (when Shopee shows the crossed-out price), `discountPercent`,
797
+ # `isPixPrice`, `currency`, `rating` (average stars), `location` (where the seller ships
798
+ # from) and `labels` (promotion badges). `sort` orders the results, `min_price` /
799
+ # `max_price` filter them, `shop_id` keeps one shop's products (or lists the shop without
800
+ # `q`), and `url` takes a Shopee search or category link instead. Shopee shows one page per
801
+ # search, so run several sort orders or price ranges for more products. `price` is what
802
+ # Shopee shows a signed-out shopper, which can be a promotional or new-customer price (see
803
+ # `labels`). In Brazil a card often shows the Pix price (`isPixPrice: true`): `price` is
804
+ # then the Pix price and `discountPercent` is measured against the list price, which Shopee
805
+ # does not show on such a card, so `originalPrice` is null. Not available: per-variation
806
+ # prices, stock counts, units sold, rating counts and reviews (Shopee does not publish them
807
+ # on the pages these endpoints read). One unit per call.
805
808
  #
806
809
  # @param q [String] What to search for, e.g. 'iphone case' or 'air fryer'. Optional with
807
810
  # `shop_id`.
@@ -841,14 +844,22 @@ module ScrapeUnblocker
841
844
  # (average stars), `labels`, `images`, `shopLocation` and `shop` (`name`, `username`, `url`,
842
845
  # `rating`, `ratingCount`, `followers`, `itemCount`, `responseRatePercent`,
843
846
  # `isOfficialShop`, `isPreferredPlusSeller`, `location`, `joinedAt`). With `dataLevel: full`
844
- # it also has `description`, `brand`, `condition`, `categories`, `videos`, `variations`
845
- # (option names), `models` (`modelId`, `name`), `attributes`, `isOfficialShop`,
846
- # `isPreOrder`, `estimatedShippingDays` and `createdAt`; `dataLevel: meta` means Shopee
847
- # showed only the product's title and main image (some markets), with price, rating and shop
848
- # still included. `price` is what Shopee shows a signed-out shopper, which can be a
849
- # promotional or new-customer price (see `labels`). Not available: stock, units sold, rating
850
- # counts and reviews (Shopee does not publish them on the pages these endpoints read). One
851
- # unit per call.
847
+ # it also has `availability` (`in_stock`, `sold_out` or `unavailable` for a withdrawn
848
+ # listing) and `inStock`, `description`, `brand`, `condition`, `categories` (the path the
849
+ # product page's breadcrumb shows, with ids), `browseCategories` (the browse tree, whose ids
850
+ # Shopee's category links use), `videos`, `variations` (option names), `models` (`modelId`,
851
+ # `name`, `available` - false for a sold-out variation - and `tierIndex`, the model's option
852
+ # in each variation), `attributes`, `isOfficialShop`, `isPreOrder`, `estimatedShippingDays`
853
+ # and `createdAt`; `dataLevel: meta` means Shopee showed only the product's title and main
854
+ # image (some markets), with price, rating and shop still included. A product Shopee says
855
+ # does not exist (removed, or never existed) answers 404 with JSON `{"status": "not_found",
856
+ # ...}`; a 502 means the call could not get an answer from Shopee and can be retried.
857
+ # `price` is what Shopee shows a signed-out shopper, which can be a promotional or new-
858
+ # customer price (see `labels`). In Brazil a card often shows the Pix price (`isPixPrice:
859
+ # true`): `price` is then the Pix price and `discountPercent` is measured against the list
860
+ # price, which Shopee does not show on such a card, so `originalPrice` is null. Not
861
+ # available: per-variation prices, stock counts, units sold, rating counts and reviews
862
+ # (Shopee does not publish them on the pages these endpoints read). One unit per call.
852
863
  #
853
864
  # @param url [String] A Shopee product link, e.g. https://shopee.sg/Beats-
854
865
  # iPhone-17-Case-i.442800909.40270108836 or
@@ -4733,7 +4744,7 @@ module ScrapeUnblocker
4733
4744
  # @param video [String] Video id (dQw4w9WgXcQ) or any YouTube video URL.
4734
4745
  # @param lang [String] Preferred caption language code, e.g. 'en'. Omit for the
4735
4746
  # default/first track. A prefix like 'en' matches 'en-US'.
4736
- # @param format [String] Output shape: text, segments. 'segments' returns timestamps; 'text'
4747
+ # @param format [String] Output shape: segments, text. 'segments' returns timestamps; 'text'
4737
4748
  # returns only the joined plaintext. API default: segments.
4738
4749
  # @param proxy_country [String] Proxy country the request is sent from (ISO-2, e.g. 'US',
4739
4750
  # 'DE') for the watch page. Defaults to US.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ScrapeUnblocker
4
- VERSION = "0.15.0"
4
+ VERSION = "0.15.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrapeunblocker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ScrapeUnblocker