scrapeunblocker 0.18.2 → 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 +14 -0
- data/lib/scrapeunblocker/plugins.rb +94 -57
- 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,19 @@
|
|
|
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
|
+
|
|
9
|
+
## 0.18.3 (2026-11-03)
|
|
10
|
+
|
|
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.
|
|
12
|
+
- `meta_ad_library` documents the full ad record: `ad_library_url`, `collation_count`, `contains_sensitive_content`, `contains_digital_created_media`, `total_active_time`, `impressions`, `spend`, `targeted_or_reached_countries`, the Page's `page_profile_picture_url`, `page_categories` and `page_is_deleted`, `images`, `videos`, `cards`, `extra_texts`, `extra_links`, and the echoed `query` and `search_url`; `country` accepts `ALL`.
|
|
13
|
+
- `wellfound_jobs` takes the new `title_match` option (API default true: a role search returns jobs that are that role, with `titleMatches` counting the title matches; false keeps Wellfound's listing as it is) and documents the free top-up of a thin role page.
|
|
14
|
+
|
|
15
|
+
No breaking changes.
|
|
16
|
+
|
|
3
17
|
## 0.18.2 (2026-11-03)
|
|
4
18
|
|
|
5
19
|
- `serp` documents the new Google SERP fields: organic results and ads with `favicon` and `sitelinks`, organic results with `rating`, `richSnippet` (the facts line under the snippet) and `thumbnail`, and `relatedSearchLinks` (each related search with its Google search URL).
|
|
@@ -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
|
|
@@ -4800,14 +4808,20 @@ module ScrapeUnblocker
|
|
|
4800
4808
|
# `locations`, `remote`, `remotePolicy` (`ONSITE`, `REMOTE`, `ONSITE_OR_REMOTE`, `HYBRID`),
|
|
4801
4809
|
# `acceptedRemoteLocations`, `yearsExperienceMin`/`Max`, `postedAt` and the hiring `company`
|
|
4802
4810
|
# (`name`, `slug`, `url`, `tagline`, `companySize`, `stage`, `badges`). A listing page holds
|
|
4803
|
-
# 20 companies with up to 3
|
|
4804
|
-
# `max_results` it pages through up to that many jobs.
|
|
4805
|
-
#
|
|
4806
|
-
#
|
|
4807
|
-
#
|
|
4808
|
-
# `
|
|
4809
|
-
#
|
|
4810
|
-
#
|
|
4811
|
+
# 20 companies with up to 3 jobs each; by default the call returns one page, with
|
|
4812
|
+
# `max_results` it pages through up to that many jobs. With a `role`, the jobs whose title
|
|
4813
|
+
# carries the role's words come first, then the ones Wellfound files under the role, and the
|
|
4814
|
+
# companies' other jobs Wellfound lists on the role's page are left out (`titleMatches`
|
|
4815
|
+
# counts the first kind; `title_match=false` keeps the listing as Wellfound shows it). When
|
|
4816
|
+
# `max_results` is given with a `location` and the role's page has too few title matches,
|
|
4817
|
+
# the location's whole listing and then the role's remote jobs open to that location fill
|
|
4818
|
+
# in, at no extra charge. Totals: `totalJobs`, `totalCompanies`, `pageCount`, `nextPage`
|
|
4819
|
+
# (continues the role's listing). `mode=job&job=<url>` returns one job in full: description
|
|
4820
|
+
# (text and HTML), salary with period, the same `jobType` and `remotePolicy` values (the
|
|
4821
|
+
# page's wording in `remotePolicyText`, plus `wfhFlexible`), skills, `visaSponsorship`,
|
|
4822
|
+
# `relocation`, `hiresRemotelyIn`, preferred timezones, hiring contact, posting date, and
|
|
4823
|
+
# the company's size, markets, badges, funding and founders. Billed one unit per page
|
|
4824
|
+
# fetched (`pagesFetched`).
|
|
4811
4825
|
#
|
|
4812
4826
|
# @param role [String] Role to search, as text or Wellfound slug: 'software engineer',
|
|
4813
4827
|
# 'product-manager', 'data-scientist'.
|
|
@@ -4822,10 +4836,14 @@ module ScrapeUnblocker
|
|
|
4822
4836
|
# @param max_results [Integer] How many jobs to collect across pages (1-500). Default: the
|
|
4823
4837
|
# whole first page (20 companies with up to 3 jobs each, usually 30-60 jobs). Each page
|
|
4824
4838
|
# fetched is one billed unit.
|
|
4839
|
+
# @param title_match [Boolean] With a role (default true): keep the jobs whose title carries
|
|
4840
|
+
# the role's words, then the ones Wellfound files under that role, and drop the other jobs
|
|
4841
|
+
# Wellfound lists on the role's page. false: every job of the listing as Wellfound shows it.
|
|
4842
|
+
# API default: true.
|
|
4825
4843
|
# @param proxy_country [String] Proxy country the request is sent from (ISO-2, e.g. 'US',
|
|
4826
4844
|
# 'DE'). Leave blank for the country chosen for the site.
|
|
4827
4845
|
# Calls POST /jobs/wellfound.
|
|
4828
|
-
def wellfound_jobs(role = nil, location: nil, remote: nil, url: nil, page: nil, max_results: nil, proxy_country: nil)
|
|
4846
|
+
def wellfound_jobs(role = nil, location: nil, remote: nil, url: nil, page: nil, max_results: nil, title_match: nil, proxy_country: nil)
|
|
4829
4847
|
post_json("/jobs/wellfound", {
|
|
4830
4848
|
mode: "search",
|
|
4831
4849
|
role: role,
|
|
@@ -4834,6 +4852,7 @@ module ScrapeUnblocker
|
|
|
4834
4852
|
url: url,
|
|
4835
4853
|
page: page,
|
|
4836
4854
|
max_results: max_results,
|
|
4855
|
+
title_match: title_match,
|
|
4837
4856
|
proxy_country: proxy_country,
|
|
4838
4857
|
})
|
|
4839
4858
|
end
|
|
@@ -4847,14 +4866,20 @@ module ScrapeUnblocker
|
|
|
4847
4866
|
# `locations`, `remote`, `remotePolicy` (`ONSITE`, `REMOTE`, `ONSITE_OR_REMOTE`, `HYBRID`),
|
|
4848
4867
|
# `acceptedRemoteLocations`, `yearsExperienceMin`/`Max`, `postedAt` and the hiring `company`
|
|
4849
4868
|
# (`name`, `slug`, `url`, `tagline`, `companySize`, `stage`, `badges`). A listing page holds
|
|
4850
|
-
# 20 companies with up to 3
|
|
4851
|
-
# `max_results` it pages through up to that many jobs.
|
|
4852
|
-
#
|
|
4853
|
-
#
|
|
4854
|
-
#
|
|
4855
|
-
# `
|
|
4856
|
-
#
|
|
4857
|
-
#
|
|
4869
|
+
# 20 companies with up to 3 jobs each; by default the call returns one page, with
|
|
4870
|
+
# `max_results` it pages through up to that many jobs. With a `role`, the jobs whose title
|
|
4871
|
+
# carries the role's words come first, then the ones Wellfound files under the role, and the
|
|
4872
|
+
# companies' other jobs Wellfound lists on the role's page are left out (`titleMatches`
|
|
4873
|
+
# counts the first kind; `title_match=false` keeps the listing as Wellfound shows it). When
|
|
4874
|
+
# `max_results` is given with a `location` and the role's page has too few title matches,
|
|
4875
|
+
# the location's whole listing and then the role's remote jobs open to that location fill
|
|
4876
|
+
# in, at no extra charge. Totals: `totalJobs`, `totalCompanies`, `pageCount`, `nextPage`
|
|
4877
|
+
# (continues the role's listing). `mode=job&job=<url>` returns one job in full: description
|
|
4878
|
+
# (text and HTML), salary with period, the same `jobType` and `remotePolicy` values (the
|
|
4879
|
+
# page's wording in `remotePolicyText`, plus `wfhFlexible`), skills, `visaSponsorship`,
|
|
4880
|
+
# `relocation`, `hiresRemotelyIn`, preferred timezones, hiring contact, posting date, and
|
|
4881
|
+
# the company's size, markets, badges, funding and founders. Billed one unit per page
|
|
4882
|
+
# fetched (`pagesFetched`).
|
|
4858
4883
|
#
|
|
4859
4884
|
# @param job [String] mode=job: the job URL (https://wellfound.com/jobs/4787364-software-
|
|
4860
4885
|
# engineer) or '<id>-<slug>', as returned in `jobs[].url` by mode=search.
|
|
@@ -5306,16 +5331,22 @@ module ScrapeUnblocker
|
|
|
5306
5331
|
# `url`, `type` and `image` like every other company or person reference), `investors`,
|
|
5307
5332
|
# `acquisitions`, `investments`, `exits`, `subOrganizations`, `keyPeople` (title, start
|
|
5308
5333
|
# date), `boardMembers`, `similarCompanies`, `products`, `contactEmail`, `phone`,
|
|
5309
|
-
# `socialLinks`, `
|
|
5310
|
-
#
|
|
5311
|
-
# `
|
|
5312
|
-
#
|
|
5313
|
-
#
|
|
5314
|
-
#
|
|
5315
|
-
#
|
|
5316
|
-
#
|
|
5317
|
-
#
|
|
5318
|
-
#
|
|
5334
|
+
# `socialLinks` (`linkedin`, `twitter`, `facebook`, `instagram`, `youtube`, `github`),
|
|
5335
|
+
# `linkedinId` (the company's LinkedIn handle), `webTraffic` (`monthlyVisits`, and
|
|
5336
|
+
# `monthlyVisitsChange`, the month-over-month change as a fraction: 0.069 = +6.9%, -0.2 =
|
|
5337
|
+
# -20%), `technology`, `predictions`, `events` (product launches, partnerships, awards,
|
|
5338
|
+
# layoffs, key employee changes, legal proceedings, each with its press source), `offices`
|
|
5339
|
+
# and recent `news`. What Crunchbase leaves empty is filled from the company's own homepage
|
|
5340
|
+
# when it states it: `seoDescription` (its meta description), `coverImage` (its share
|
|
5341
|
+
# image), `foundedOn`, `employeeCount`, `headquarters.street` and `headquarters.postalCode`
|
|
5342
|
+
# (its schema.org block), the social links, `contactEmail` and `phone`; `fromWebsite` lists
|
|
5343
|
+
# the keys that came from the homepage. Every one of the record's 78 keys is always present.
|
|
5344
|
+
# Data Crunchbase shows only to paying users (founded / closed / IPO dates, funding totals,
|
|
5345
|
+
# round dates and amounts, acquisition prices, exits, valuation) is null, and
|
|
5346
|
+
# `paywalledFields` names the ones Crunchbase holds for this organization. With `query`
|
|
5347
|
+
# instead, searches organizations by name and returns up to `max_results` (max 25) matches
|
|
5348
|
+
# with `name`, `slug`, `url`, `shortDescription` and `logo`, plus the total `count` of
|
|
5349
|
+
# matches. No Crunchbase login required.
|
|
5319
5350
|
#
|
|
5320
5351
|
# @param organization [String] Crunchbase organization slug (the part after /organization/
|
|
5321
5352
|
# in its profile URL, e.g. 'stripe' or 'tesla-motors') or the full profile URL. Either
|
|
@@ -5346,16 +5377,22 @@ module ScrapeUnblocker
|
|
|
5346
5377
|
# `url`, `type` and `image` like every other company or person reference), `investors`,
|
|
5347
5378
|
# `acquisitions`, `investments`, `exits`, `subOrganizations`, `keyPeople` (title, start
|
|
5348
5379
|
# date), `boardMembers`, `similarCompanies`, `products`, `contactEmail`, `phone`,
|
|
5349
|
-
# `socialLinks`, `
|
|
5350
|
-
#
|
|
5351
|
-
# `
|
|
5352
|
-
#
|
|
5353
|
-
#
|
|
5354
|
-
#
|
|
5355
|
-
#
|
|
5356
|
-
#
|
|
5357
|
-
#
|
|
5358
|
-
#
|
|
5380
|
+
# `socialLinks` (`linkedin`, `twitter`, `facebook`, `instagram`, `youtube`, `github`),
|
|
5381
|
+
# `linkedinId` (the company's LinkedIn handle), `webTraffic` (`monthlyVisits`, and
|
|
5382
|
+
# `monthlyVisitsChange`, the month-over-month change as a fraction: 0.069 = +6.9%, -0.2 =
|
|
5383
|
+
# -20%), `technology`, `predictions`, `events` (product launches, partnerships, awards,
|
|
5384
|
+
# layoffs, key employee changes, legal proceedings, each with its press source), `offices`
|
|
5385
|
+
# and recent `news`. What Crunchbase leaves empty is filled from the company's own homepage
|
|
5386
|
+
# when it states it: `seoDescription` (its meta description), `coverImage` (its share
|
|
5387
|
+
# image), `foundedOn`, `employeeCount`, `headquarters.street` and `headquarters.postalCode`
|
|
5388
|
+
# (its schema.org block), the social links, `contactEmail` and `phone`; `fromWebsite` lists
|
|
5389
|
+
# the keys that came from the homepage. Every one of the record's 78 keys is always present.
|
|
5390
|
+
# Data Crunchbase shows only to paying users (founded / closed / IPO dates, funding totals,
|
|
5391
|
+
# round dates and amounts, acquisition prices, exits, valuation) is null, and
|
|
5392
|
+
# `paywalledFields` names the ones Crunchbase holds for this organization. With `query`
|
|
5393
|
+
# instead, searches organizations by name and returns up to `max_results` (max 25) matches
|
|
5394
|
+
# with `name`, `slug`, `url`, `shortDescription` and `logo`, plus the total `count` of
|
|
5395
|
+
# matches. No Crunchbase login required.
|
|
5359
5396
|
#
|
|
5360
5397
|
# @param query [String] Company name to search for, e.g. 'Revolut'. Returns the matching
|
|
5361
5398
|
# organizations with their slugs instead of one full profile.
|
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
|