scrapeunblocker 0.18.1 → 0.18.3

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: c79b962e59206a9d9ec4a01135927307c8e56f24d96b7b102b45750192c8246f
4
- data.tar.gz: c83c12468bba24e284c1276ac235641eb0e666b6d54a75ad6dba7db85e938775
3
+ metadata.gz: c1fd6a7ba53caf9e937a18ddcd6fb2a90d38ff292dcec6b7bc60ff6cb9c06b4b
4
+ data.tar.gz: 6ff1cba9d2f4e4276805dbadc8d5b77b27e84ea49da55b7f543105a4baeae2f7
5
5
  SHA512:
6
- metadata.gz: 831c58953287ebe22c4b51194ec83e4db28c8d467c63bd9b5da1c50c779acc802e58599aa4a1ad013bdeaef9287472b2633888560749190418dd6faca41575e9
7
- data.tar.gz: d22ed5ddf91dee7a90946c42dbfd59bf34fa4cfbc1ce632456f26b4d63118340f2a314d17f78158c29a2d9e2992dbc0defa9761ada4e6e344abd90df1d11a0ef
6
+ metadata.gz: 59e6da77685d5e430a74ace29d080c79161f2634ed3fae0744cfd85e76c620eec98a88f98f73956133243a01b46d4b3f53695bd3f79677bb4ed4a622ef3d777b
7
+ data.tar.gz: 581696bb65acb0eceb9b9ff37ca9bd2d77fd16a3a919bfc27017592363e8d7118c65c22b959ad6af00f73bf7b2bb4930bc3be6784d7867d14c3f584effa83d3f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.18.3 (2026-11-03)
4
+
5
+ - `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.
6
+ - `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`.
7
+ - `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.
8
+
9
+ No breaking changes.
10
+
11
+ ## 0.18.2 (2026-11-03)
12
+
13
+ - `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).
14
+ - `bing_search` documents the richer Bing results: organic `source`, `favicon`, `date`, `sitelinks`, `rating`, `richSnippet`, `thumbnail`; ads with `advertiser`, `favicon`, `sitelinks` and the advertiser's real landing URL; `relatedSearchLinks`, `aiOverview` (Bing's AI summary) and `spellingCorrection`. No code change: both methods return the API's JSON as it is.
15
+
16
+ No breaking changes.
17
+
3
18
  ## 0.18.1 (2026-11-02)
4
19
 
5
20
  - `serp` documents the richer Google SERP the API now returns: every organic result (also those without a snippet) with its real URL, `displayedUrl`, `domain`, `source` (site name) and `date`; ads with `displayedUrl`, `domain` and `advertiser`; and the first page's other blocks - `peopleAlsoAsk`, `relatedSearches`, `knowledgeGraph`, `topStories`, `videos`, `localResults`, `shoppingResults` and `spellingCorrection`. No code change: the method returns the API's JSON as it is.
data/README.md CHANGED
@@ -177,9 +177,9 @@ data = su.plugin("/marketplace/target-search", query: "tv", max_results: 24)
177
177
 
178
178
  ```ruby
179
179
  serp = su.serp("web scraping api", pages_to_check: 2, proxy_country: "US")
180
- serp["organic"].each { |r| puts [r["position"], r["title"], r["url"], r["date"]].join(" ") }
180
+ serp["organic"].each { |r| puts [r["position"], r["title"], r["url"], r["date"], r["favicon"]].join(" ") }
181
181
  # The first page's other blocks (empty when Google shows none):
182
- p serp["peopleAlsoAsk"], serp["relatedSearches"], serp["knowledgeGraph"], serp["topStories"]
182
+ p serp["peopleAlsoAsk"], serp["relatedSearchLinks"], serp["knowledgeGraph"], serp["topStories"]
183
183
  ```
184
184
 
185
185
  ## Google Local (Maps)
@@ -130,11 +130,12 @@ module ScrapeUnblocker
130
130
 
131
131
  # Run a Google search and return the parsed SERP as a Hash: "organic"
132
132
  # results and "topAds" / "bottomAds" (title, real url, description,
133
- # position, displayedUrl, domain; organic adds source and date, ads
134
- # advertiser), "aiOverview", "totalResults", and the first page's other
135
- # blocks: peopleAlsoAsk, relatedSearches, knowledgeGraph, topStories,
136
- # videos, localResults, shoppingResults and spellingCorrection (each empty
137
- # or nil when Google shows none).
133
+ # position, displayedUrl, domain, favicon, sitelinks; organic adds source,
134
+ # date, rating, richSnippet and thumbnail, ads advertiser), "aiOverview",
135
+ # "totalResults", and the first page's other blocks: peopleAlsoAsk,
136
+ # relatedSearches, relatedSearchLinks, knowledgeGraph, topStories, videos,
137
+ # localResults, shoppingResults and spellingCorrection (each empty or nil
138
+ # when Google shows none).
138
139
  # +captcha_pause+ is kept for compatibility; the API ignores it.
139
140
  def serp(keyword, proxy_country: nil, pages_to_check: 1, wait_after_load: 0, captcha_pause: 0)
140
141
  post_json("/serpApi",
@@ -3976,10 +3976,14 @@ module ScrapeUnblocker
3976
3976
  # Search Bing.
3977
3977
  #
3978
3978
  # Searches Bing for `keyword` in a real browser and returns the results page as JSON:
3979
- # `topAds`, `bottomAds`, `organic` (each with `position`, `title`, `url`, `displayedUrl`,
3980
- # `domain`, `description`), `relatedSearches` and `totalResults`. Same parameters and
3981
- # response shape as `/serpApi`. `proxy_country` sets both the market and the location the
3982
- # search is sent from, which decides the ads.
3979
+ # `topAds`, `bottomAds` (each with `advertiser`, `favicon` and `sitelinks`), `organic` (each
3980
+ # with `position`, `title`, `url`, `displayedUrl`, `domain`, `description`, `source`,
3981
+ # `favicon`, `date`, `sitelinks`, `rating`, `richSnippet`, `thumbnail`), `relatedSearches`,
3982
+ # `relatedSearchLinks`, `aiOverview` (Bing's AI summary), `spellingCorrection` and
3983
+ # `totalResults`. Same parameters as `/serpApi`. When page 1 is crowded by ads and holds few
3984
+ # organic results, a one-page call also takes page 2's organic results at no extra charge.
3985
+ # `proxy_country` sets both the market and the location the search is sent from, which
3986
+ # decides the ads.
3983
3987
  #
3984
3988
  # @param keyword [String] Search terms.
3985
3989
  # @param pages_to_check [Integer] How many result pages to collect (1-10, ~10 results each).
@@ -4796,14 +4800,20 @@ module ScrapeUnblocker
4796
4800
  # `locations`, `remote`, `remotePolicy` (`ONSITE`, `REMOTE`, `ONSITE_OR_REMOTE`, `HYBRID`),
4797
4801
  # `acceptedRemoteLocations`, `yearsExperienceMin`/`Max`, `postedAt` and the hiring `company`
4798
4802
  # (`name`, `slug`, `url`, `tagline`, `companySize`, `stage`, `badges`). A listing page holds
4799
- # 20 companies with up to 3 matching jobs each; by default the call returns one page, with
4800
- # `max_results` it pages through up to that many jobs. Totals: `totalJobs`,
4801
- # `totalCompanies`, `pageCount`, `nextPage`. `mode=job&job=<url>` returns one job in full:
4802
- # description (text and HTML), salary with period, the same `jobType` and `remotePolicy`
4803
- # values (the page's wording in `remotePolicyText`, plus `wfhFlexible`), skills,
4804
- # `visaSponsorship`, `relocation`, `hiresRemotelyIn`, preferred timezones, hiring contact,
4805
- # posting date, and the company's size, markets, badges, funding and founders. Billed one
4806
- # unit per page fetched (`pagesFetched`).
4803
+ # 20 companies with up to 3 jobs each; by default the call returns one page, with
4804
+ # `max_results` it pages through up to that many jobs. With a `role`, the jobs whose title
4805
+ # carries the role's words come first, then the ones Wellfound files under the role, and the
4806
+ # companies' other jobs Wellfound lists on the role's page are left out (`titleMatches`
4807
+ # counts the first kind; `title_match=false` keeps the listing as Wellfound shows it). When
4808
+ # `max_results` is given with a `location` and the role's page has too few title matches,
4809
+ # the location's whole listing and then the role's remote jobs open to that location fill
4810
+ # in, at no extra charge. Totals: `totalJobs`, `totalCompanies`, `pageCount`, `nextPage`
4811
+ # (continues the role's listing). `mode=job&job=<url>` returns one job in full: description
4812
+ # (text and HTML), salary with period, the same `jobType` and `remotePolicy` values (the
4813
+ # page's wording in `remotePolicyText`, plus `wfhFlexible`), skills, `visaSponsorship`,
4814
+ # `relocation`, `hiresRemotelyIn`, preferred timezones, hiring contact, posting date, and
4815
+ # the company's size, markets, badges, funding and founders. Billed one unit per page
4816
+ # fetched (`pagesFetched`).
4807
4817
  #
4808
4818
  # @param role [String] Role to search, as text or Wellfound slug: 'software engineer',
4809
4819
  # 'product-manager', 'data-scientist'.
@@ -4818,10 +4828,14 @@ module ScrapeUnblocker
4818
4828
  # @param max_results [Integer] How many jobs to collect across pages (1-500). Default: the
4819
4829
  # whole first page (20 companies with up to 3 jobs each, usually 30-60 jobs). Each page
4820
4830
  # fetched is one billed unit.
4831
+ # @param title_match [Boolean] With a role (default true): keep the jobs whose title carries
4832
+ # the role's words, then the ones Wellfound files under that role, and drop the other jobs
4833
+ # Wellfound lists on the role's page. false: every job of the listing as Wellfound shows it.
4834
+ # API default: true.
4821
4835
  # @param proxy_country [String] Proxy country the request is sent from (ISO-2, e.g. 'US',
4822
4836
  # 'DE'). Leave blank for the country chosen for the site.
4823
4837
  # Calls POST /jobs/wellfound.
4824
- def wellfound_jobs(role = nil, location: nil, remote: nil, url: nil, page: nil, max_results: nil, proxy_country: nil)
4838
+ def wellfound_jobs(role = nil, location: nil, remote: nil, url: nil, page: nil, max_results: nil, title_match: nil, proxy_country: nil)
4825
4839
  post_json("/jobs/wellfound", {
4826
4840
  mode: "search",
4827
4841
  role: role,
@@ -4830,6 +4844,7 @@ module ScrapeUnblocker
4830
4844
  url: url,
4831
4845
  page: page,
4832
4846
  max_results: max_results,
4847
+ title_match: title_match,
4833
4848
  proxy_country: proxy_country,
4834
4849
  })
4835
4850
  end
@@ -4843,14 +4858,20 @@ module ScrapeUnblocker
4843
4858
  # `locations`, `remote`, `remotePolicy` (`ONSITE`, `REMOTE`, `ONSITE_OR_REMOTE`, `HYBRID`),
4844
4859
  # `acceptedRemoteLocations`, `yearsExperienceMin`/`Max`, `postedAt` and the hiring `company`
4845
4860
  # (`name`, `slug`, `url`, `tagline`, `companySize`, `stage`, `badges`). A listing page holds
4846
- # 20 companies with up to 3 matching jobs each; by default the call returns one page, with
4847
- # `max_results` it pages through up to that many jobs. Totals: `totalJobs`,
4848
- # `totalCompanies`, `pageCount`, `nextPage`. `mode=job&job=<url>` returns one job in full:
4849
- # description (text and HTML), salary with period, the same `jobType` and `remotePolicy`
4850
- # values (the page's wording in `remotePolicyText`, plus `wfhFlexible`), skills,
4851
- # `visaSponsorship`, `relocation`, `hiresRemotelyIn`, preferred timezones, hiring contact,
4852
- # posting date, and the company's size, markets, badges, funding and founders. Billed one
4853
- # unit per page fetched (`pagesFetched`).
4861
+ # 20 companies with up to 3 jobs each; by default the call returns one page, with
4862
+ # `max_results` it pages through up to that many jobs. With a `role`, the jobs whose title
4863
+ # carries the role's words come first, then the ones Wellfound files under the role, and the
4864
+ # companies' other jobs Wellfound lists on the role's page are left out (`titleMatches`
4865
+ # counts the first kind; `title_match=false` keeps the listing as Wellfound shows it). When
4866
+ # `max_results` is given with a `location` and the role's page has too few title matches,
4867
+ # the location's whole listing and then the role's remote jobs open to that location fill
4868
+ # in, at no extra charge. Totals: `totalJobs`, `totalCompanies`, `pageCount`, `nextPage`
4869
+ # (continues the role's listing). `mode=job&job=<url>` returns one job in full: description
4870
+ # (text and HTML), salary with period, the same `jobType` and `remotePolicy` values (the
4871
+ # page's wording in `remotePolicyText`, plus `wfhFlexible`), skills, `visaSponsorship`,
4872
+ # `relocation`, `hiresRemotelyIn`, preferred timezones, hiring contact, posting date, and
4873
+ # the company's size, markets, badges, funding and founders. Billed one unit per page
4874
+ # fetched (`pagesFetched`).
4854
4875
  #
4855
4876
  # @param job [String] mode=job: the job URL (https://wellfound.com/jobs/4787364-software-
4856
4877
  # engineer) or '<id>-<slug>', as returned in `jobs[].url` by mode=search.
@@ -5302,16 +5323,22 @@ module ScrapeUnblocker
5302
5323
  # `url`, `type` and `image` like every other company or person reference), `investors`,
5303
5324
  # `acquisitions`, `investments`, `exits`, `subOrganizations`, `keyPeople` (title, start
5304
5325
  # date), `boardMembers`, `similarCompanies`, `products`, `contactEmail`, `phone`,
5305
- # `socialLinks`, `webTraffic` (`monthlyVisits`, and `monthlyVisitsChange`, the month-over-
5306
- # month change as a fraction: 0.069 = +6.9%, -0.2 = -20%), `technology`, `predictions`,
5307
- # `events` (product launches, partnerships, awards, layoffs, key employee changes, legal
5308
- # proceedings, each with its press source), `offices` and recent `news`. Every one of the
5309
- # record's 73 keys is always present. Data Crunchbase shows only to paying users (founded /
5310
- # closed / IPO dates, funding totals, round dates and amounts, acquisition prices, exits,
5311
- # valuation) is null, and `paywalledFields` names the ones Crunchbase holds for this
5312
- # organization. With `query` instead, searches organizations by name and returns up to
5313
- # `max_results` (max 25) matches with `name`, `slug`, `url`, `shortDescription` and `logo`,
5314
- # plus the total `count` of matches. No Crunchbase login required.
5326
+ # `socialLinks` (`linkedin`, `twitter`, `facebook`, `instagram`, `youtube`, `github`),
5327
+ # `linkedinId` (the company's LinkedIn handle), `webTraffic` (`monthlyVisits`, and
5328
+ # `monthlyVisitsChange`, the month-over-month change as a fraction: 0.069 = +6.9%, -0.2 =
5329
+ # -20%), `technology`, `predictions`, `events` (product launches, partnerships, awards,
5330
+ # layoffs, key employee changes, legal proceedings, each with its press source), `offices`
5331
+ # and recent `news`. What Crunchbase leaves empty is filled from the company's own homepage
5332
+ # when it states it: `seoDescription` (its meta description), `coverImage` (its share
5333
+ # image), `foundedOn`, `employeeCount`, `headquarters.street` and `headquarters.postalCode`
5334
+ # (its schema.org block), the social links, `contactEmail` and `phone`; `fromWebsite` lists
5335
+ # the keys that came from the homepage. Every one of the record's 78 keys is always present.
5336
+ # Data Crunchbase shows only to paying users (founded / closed / IPO dates, funding totals,
5337
+ # round dates and amounts, acquisition prices, exits, valuation) is null, and
5338
+ # `paywalledFields` names the ones Crunchbase holds for this organization. With `query`
5339
+ # instead, searches organizations by name and returns up to `max_results` (max 25) matches
5340
+ # with `name`, `slug`, `url`, `shortDescription` and `logo`, plus the total `count` of
5341
+ # matches. No Crunchbase login required.
5315
5342
  #
5316
5343
  # @param organization [String] Crunchbase organization slug (the part after /organization/
5317
5344
  # in its profile URL, e.g. 'stripe' or 'tesla-motors') or the full profile URL. Either
@@ -5342,16 +5369,22 @@ module ScrapeUnblocker
5342
5369
  # `url`, `type` and `image` like every other company or person reference), `investors`,
5343
5370
  # `acquisitions`, `investments`, `exits`, `subOrganizations`, `keyPeople` (title, start
5344
5371
  # date), `boardMembers`, `similarCompanies`, `products`, `contactEmail`, `phone`,
5345
- # `socialLinks`, `webTraffic` (`monthlyVisits`, and `monthlyVisitsChange`, the month-over-
5346
- # month change as a fraction: 0.069 = +6.9%, -0.2 = -20%), `technology`, `predictions`,
5347
- # `events` (product launches, partnerships, awards, layoffs, key employee changes, legal
5348
- # proceedings, each with its press source), `offices` and recent `news`. Every one of the
5349
- # record's 73 keys is always present. Data Crunchbase shows only to paying users (founded /
5350
- # closed / IPO dates, funding totals, round dates and amounts, acquisition prices, exits,
5351
- # valuation) is null, and `paywalledFields` names the ones Crunchbase holds for this
5352
- # organization. With `query` instead, searches organizations by name and returns up to
5353
- # `max_results` (max 25) matches with `name`, `slug`, `url`, `shortDescription` and `logo`,
5354
- # plus the total `count` of matches. No Crunchbase login required.
5372
+ # `socialLinks` (`linkedin`, `twitter`, `facebook`, `instagram`, `youtube`, `github`),
5373
+ # `linkedinId` (the company's LinkedIn handle), `webTraffic` (`monthlyVisits`, and
5374
+ # `monthlyVisitsChange`, the month-over-month change as a fraction: 0.069 = +6.9%, -0.2 =
5375
+ # -20%), `technology`, `predictions`, `events` (product launches, partnerships, awards,
5376
+ # layoffs, key employee changes, legal proceedings, each with its press source), `offices`
5377
+ # and recent `news`. What Crunchbase leaves empty is filled from the company's own homepage
5378
+ # when it states it: `seoDescription` (its meta description), `coverImage` (its share
5379
+ # image), `foundedOn`, `employeeCount`, `headquarters.street` and `headquarters.postalCode`
5380
+ # (its schema.org block), the social links, `contactEmail` and `phone`; `fromWebsite` lists
5381
+ # the keys that came from the homepage. Every one of the record's 78 keys is always present.
5382
+ # Data Crunchbase shows only to paying users (founded / closed / IPO dates, funding totals,
5383
+ # round dates and amounts, acquisition prices, exits, valuation) is null, and
5384
+ # `paywalledFields` names the ones Crunchbase holds for this organization. With `query`
5385
+ # instead, searches organizations by name and returns up to `max_results` (max 25) matches
5386
+ # with `name`, `slug`, `url`, `shortDescription` and `logo`, plus the total `count` of
5387
+ # matches. No Crunchbase login required.
5355
5388
  #
5356
5389
  # @param query [String] Company name to search for, e.g. 'Revolut'. Returns the matching
5357
5390
  # organizations with their slugs instead of one full profile.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ScrapeUnblocker
4
- VERSION = "0.18.1"
4
+ VERSION = "0.18.3"
5
5
  end
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.1
4
+ version: 0.18.3
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-02 00:00:00.000000000 Z
11
+ date: 2026-11-03 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