Skip to content

docs: botasaurus timezone, egress policy and scraper log events - #1314

Merged
gildesmarais merged 1 commit into
mainfrom
docs/botasaurus-timezone-egress
Dec 1, 2026
Merged

gildesmarais merged 1 commit into
mainfrom
docs/botasaurus-timezone-egress

Conversation

@gildesmarais

Copy link
Copy Markdown
Member

What changed

  • ruby-gem/reference/strategy.mdx:
    • Adds the timezone option: an IANA id, browser tier only, with SCRAPE_DEFAULT_TIMEZONE as the fallback and 422 for unknown ids.
    • Removes organic_get from navigation_mode. Neither the scrape API's OpenAPI enum nor the gem accepts it, so a config using it fails validation.
    • The proxy note now says the scrape API checks each destination and then hands the hostname to the proxy. Rotating residential gateways work; TLS-intercepting proxies do not.
    • "Network safeguards" now describes the egress policy inside the scrape API:
      • It covers every browser connection, not only redirects.
      • WebRTC is limited to proxied traffic.
      • A blocked navigation fails with 403, and a blocked sub-request is dropped.
  • web-application/reference/env-variables.mdx: adds SCRAPE_DEFAULT_TIMEZONE.
  • web-application/reference/monitoring.mdx: adds "Scraper log events" with scrape_finished, scrape_rejected, egress_blocked and egress_summary, plus suggested alerts for proxy refusals, DNS timeouts and blocked hosts.

Why

The docs trailed html2rss/botasaurus-scrape-api#91 and #92 and html2rss/html2rss#724. Operators also had no page for the scraper log events, which carry the target-site outcomes that never go to Sentry.

Risk

Review map: small. Start at ruby-gem/reference/strategy.mdx.

Validation

  • make test: 75 tests passed.
  • prettier --check src/content: clean.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gildesmarais
gildesmarais marked this pull request as ready for review December 1, 2026 13:46
@gildesmarais
gildesmarais merged commit 30562ea into main Dec 1, 2026
5 checks passed
@gildesmarais
gildesmarais deleted the docs/botasaurus-timezone-egress branch December 1, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant