Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [0.88.0] - 2026-12-02

### Changed
- **`google.jobs.search()` now defaults to `mode="serp"`, the public Google Jobs results.** The API's default changed the same way (SCR-772): the old default, `"rpc"`, returns only Google's own openings from Google Careers, so a search like "software engineer" came back with a handful of unrelated Google roles. Pass `mode="rpc"` to keep the old behaviour.

## [0.87.0] - 2026-12-01

### Removed
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "scrapebadger"
version = "0.87.0"
version = "0.88.0"
description = "Official Python SDK for ScrapeBadger - Async web scraping APIs for Twitter and more"
readme = "README.md"
license = { text = "MIT" }
Expand Down
2 changes: 1 addition & 1 deletion src/scrapebadger/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@ async def main():
ZestimateHistoryPoint as ZillowZestimateHistoryPoint,
)

__version__ = "0.87.0"
__version__ = "0.88.0"

__all__ = [
# TikTok core models
Expand Down
2 changes: 1 addition & 1 deletion src/scrapebadger/_internal/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
_CONCURRENCY_ERRORS = frozenset({"concurrency_limit_exceeded", "trial_concurrency"})

# User agent for SDK requests
SDK_VERSION = "0.87.0"
SDK_VERSION = "0.88.0"
USER_AGENT = f"scrapebadger-python/{SDK_VERSION}"


Expand Down
22 changes: 10 additions & 12 deletions src/scrapebadger/google/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,19 @@ class JobsClient:

Two data sources are available via ``mode``:

- ``"rpc"`` (default, ~1-2 s) — Google Careers' own batchexecute
RPC. Returns structured JSON with rich per-job fields (title,
company, locations, posted_at ISO, qualifications + responsibilities
bullets, apply URL). Scope: Google's own openings (~3-4k roles).
- ``"serp"`` — public Google Jobs vertical (aggregates LinkedIn /
Indeed / Built In / ZipRecruiter etc). Slower; filterable via
``job_type``, ``date_posted``, ``ltype``, ``chips``, ``uds``,
``uule``, ``lrad``.
- ``"serp"`` (default) — the public Google Jobs results, which
gather listings from employers and job boards (LinkedIn, Indeed,
Built In, ZipRecruiter and others). Filterable via ``job_type``,
``date_posted``, ``ltype``, ``chips``, ``uds``, ``uule``, ``lrad``.
- ``"rpc"`` (~1-2 s) — Google Careers: only Google's own openings,
with rich per-job fields (qualifications and responsibilities
bullets, apply URL).

Example:
```python
jobs = await client.google.jobs.search(
"software engineer",
mode="rpc",
language="en-US",
location="New York",
)
```
"""
Expand All @@ -42,7 +40,7 @@ async def search(
self,
q: str,
*,
mode: JobsMode = "rpc",
mode: JobsMode = "serp",
location: str | None = None,
gl: str = "us",
country: str | None = None,
Expand All @@ -62,7 +60,7 @@ async def search(

Args:
q: Job title or keywords.
mode: ``"rpc"`` (default, Google Careers) or ``"serp"``.
mode: ``"serp"`` (default, public Google Jobs) or ``"rpc"`` (Google Careers only).
location: City / state / region (SERP mode).
gl: Country code.
country: Alias for ``gl``.
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading