Politeness
Re-reading thousands of small websites only works if the sites don't mind. Every Netscrape read, from a watch or a one-off job, goes through the same rules.
Per-site pacing
A site is a hostname, ignoring case and a leading www.; HTTP, HTTPS and other
ports share it. By default each site gets:
| Rule | Default |
|---|---|
| Reads at a time | 1 |
| Time between starts | At least 5 seconds |
| Reads per hour | 300 |
| Reads per day | 1,000 |
These limits protect the site, so they're shared by every account: two customers reading the same site share one budget. A read that has to wait for its turn waits in the queue; it doesn't fail.
- When a site answers
429 Too Many Requests, every read of that site waits for itsRetry-After, or 60 seconds if it doesn't say, across all accounts. policy.min_interval_ms(up to 60,000) spaces your reads of a site further apart.- Watch reads use at most half of a site's hourly and daily budget, and the scheduler only sends a watch's read when the site has room soon, so watch traffic never crowds out one-off jobs.
robots.txt
Watches check robots.txt before every read by default: a watch whose request
has no policy is stored with "policy": {"robots": true}. You can still turn
it off for a watch with "policy": {"robots": false}. A one-off job checks
robots.txt when you give it a policy, where robots checks are on by default:
{
"url": "https://example.com/catalogue",
"output": "document",
"policy": {"robots": true}
}
Whether a one-off job without a policy, or one saying "robots": false, may
skip robots.txt depends on your account's robots mode:
| Mode | A request with no policy |
"policy": {"robots": false} |
|---|---|---|
required (new accounts) |
Read as {"robots": true}: robots.txt is checked, and the read is metered per network request like any read with a policy |
Refused with 403 robots_required, for jobs and watches alike |
caller |
Not checked against robots.txt | Honoured |
Discovery always checks robots.txt. If you need to read a site you own that disallows crawlers, contact us.
- Rules are read for the
Netscrapeproduct token, falling back to*. - Longest-match
AllowandDisallow,*and$are supported, following RFC 9309. - A
Crawl-delayof up to 30 seconds is honoured for every account reading that site. - A robots.txt that answers 401 or 403 forbids reading. One that answers 429 or
5xx, or can't be reached, fails the read with
robots_unavailablerather than guessing. - A refused page fails with
robots_disallowed. A watch,autoormanual, then stops reading the page and re-reads only robots.txt: at most once a day per origin, shared by every watch on it, and weekly after the first week. It follows a redirect only to another/robots.txton the same site (http to https, or with and withoutwww.), for at most 3 hops, and never requests any other URL. When the page is allowed again the watch goes back topending: anautowatch reads it at once, amanualone on your next attached job.resyncre-reads robots.txt at once. Those robots.txt reads aren't counted against your quotas.
Netscrape's own robots reads, including redirects, challenge fallbacks, discovery
and watch recovery, don't spend your request budget or credits. They use a separate
internal allowance. Site quotas, crawl delays, blocked hosts and account suspension
still apply; shared caching prevents each page from fetching the same robots file.
A policy check checks your page's remaining allowance before fetching robots.txt.
Its robots network requests are bounded per lease at 18 times max_requests, allowing
five redirects and up to three network/engine attempts per URL. Each robots read also
has a ten-second deadline, or the page's earlier deadline. Discovery robots reads
share your tenant's reserved slots and concurrency limit, and check its remaining
request allowance before fetching a cold robots file. All internal robots traffic
has a separate daily cap of 30 times your tenant's daily request limit, and an
hourly cap when you configure an hourly limit (the server's daily default supplies
the bound for uncapped tenants). This includes both permits and fallback dispatches.
Discovery robots
executions, including fallbacks, are also limited to 18 times budget.max_attempts
per job, without spending the job's content attempts. Discovery reuses shared robots
rules until they expire.
policy also takes stay_on (hosts a read may move to), path_prefix,
paused_hosts (hosts never to contact) and max_requests
(default 300 network requests per read).
A browser only when needed
A browser is heavier for you and for the site, so render: "auto" reads over
HTTP first and uses a browser only for pages that need one: script-built pages
with almost no text, verification screens, and reads that wait for something
to appear. See render modes.
Browsers skip images, fonts, media, beacons and known trackers unless you take a screenshot, and the requests they do make count toward the read's limits.
Challenges are reported honestly
Some sites show a bot check instead of the page. Netscrape doesn't hide that and doesn't pretend it read the page.
- A result names the screen it met in
challenge:"cloudflare","siteground"ornull. The status and body are returned as they came, with asource_challengewarning. - In a browser, Netscrape gives a verification screen up to 10 seconds to move on by itself, as it would for a person. It doesn't solve captchas.
- For a watch, two challenged reads in a row make it
blocked, and it backs off: 1 day, 3 days, 7 days, then every 14 days. You getwatch.health_changedwith the vendor inreason, such aschallenge:siteground.
What to do about a block is your call: pause the watch, read less often, or contact the site.
Identity
Netscrape chooses the identity of every request: a current desktop Chrome
profile, consistent across a read's redirects, browser requests and retries.
You can't set a user agent, cookies or credentials. robots.txt is always read
for the Netscrape token, whatever identity a request presents.
Network safety
Netscrape reads only public addresses. Every address a name resolves to is checked, and so is every redirect, so a page can't steer a read into a private network.
Blocked hosts
Site owners can ask Netscrape not to read their site, and Netscrape refuses some
targets of its own accord. A blocked host, and every subdomain of it, is refused
for every account: a job or watch naming it is refused with 403 host_blocked
when it is submitted, a job queued before the host was blocked fails with the
error host_blocked without a read, and a read with a policy that is
redirected to one, or fetches a resource from one, has that request refused the
same way. Discovery excludes candidate pages on a blocked host and ends at once
if the seed is one. Every read is checked at each network request, redirects
included, whether or not it has a policy.