Skip to content

[pull] master from apify:master#247

Merged
pull[bot] merged 1 commit into
threatcode:masterfrom
apify:master
Jul 20, 2026
Merged

[pull] master from apify:master#247
pull[bot] merged 1 commit into
threatcode:masterfrom
apify:master

Conversation

@pull

@pull pull Bot commented Jul 20, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

`SitemapRequestList`, `Sitemap.load` / `parseSitemap`, and
`RobotsTxtFile.getSitemaps()` now apply an enqueue strategy to the URLs
they extract. They keep only entries that match the strategy (default
`same-hostname`) relative to their parent sitemap, and always drop
non-`http(s)` schemes. This brings sitemap loading in line with
`enqueueLinks`, which already scopes discovered links to the same
hostname by default.

The selected strategy is also stamped onto the emitted `Request`
objects, so it keeps being enforced after navigation (e.g. across
redirects).

This changes the default behavior: cross-host sitemap entries are no
longer enqueued unless you opt in with `enqueueStrategy: 'all'` (or
`'same-domain'` / `'same-origin'`).
@pull pull Bot locked and limited conversation to collaborators Jul 20, 2026
@pull pull Bot added the ⤵️ pull label Jul 20, 2026
@pull
pull Bot merged commit 9dc3160 into threatcode:master Jul 20, 2026
@pull
pull Bot had a problem deploying to github-pages July 20, 2026 16:19 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant