Repository navigation
fix(js-sdk): include robotsUserAgent in crawl payload - #3403
Merged
Merged
Conversation
prepareCrawlPayload was dropping the robotsUserAgent field before sending to /v2/crawl. Add it to the payload and bump to 4.18.4. Co-Authored-By: micahstairs <[email protected]>
micahstairs
approved these changes
Apr 20, 2026
tomsideguide
pushed a commit
that referenced
this pull request
Apr 21, 2026
prepareCrawlPayload was dropping the robotsUserAgent field before sending to /v2/crawl. Add it to the payload and bump to 4.18.4. Co-authored-by: firecrawl-spring[bot] <254786068+firecrawl-spring[bot]@users.noreply.github.com> Co-authored-by: micahstairs <[email protected]>
This was referenced Jul 2, 2026
1 of 2 tasks
rkfshakti
added a commit
to rkfshakti/firecrawl
that referenced
this pull request
Jul 20, 2026
The ignoreRobotsTxt option was declared in CrawlOptions types but never forwarded to the API in prepareCrawlPayload(). This is the same class of bug as robotsUserAgent (fixed in firecrawl#3403) — both were added in the same PR (firecrawl#3375) but only robotsUserAgent was wired into the payload. Closes firecrawl#3940.
rkfshakti
added a commit
to rkfshakti/firecrawl
that referenced
this pull request
Jul 28, 2026
The ignoreRobotsTxt option was declared in CrawlOptions types but never forwarded to the API in prepareCrawlPayload(). This is the same class of bug as robotsUserAgent (fixed in firecrawl#3403) — both were added in the same PR (firecrawl#3375) but only robotsUserAgent was wired into the payload. Closes firecrawl#3940.
rkfshakti
added a commit
to rkfshakti/firecrawl
that referenced
this pull request
Aug 11, 2026
The ignoreRobotsTxt option was declared in CrawlOptions types but never forwarded to the API in prepareCrawlPayload(). This is the same class of bug as robotsUserAgent (fixed in firecrawl#3403) — both were added in the same PR (firecrawl#3375) but only robotsUserAgent was wired into the payload. Closes firecrawl#3940.
jerbao
pushed a commit
to jerbao/firecrawl-custom
that referenced
this pull request
Aug 22, 2026
prepareCrawlPayload was dropping the robotsUserAgent field before sending to /v2/crawl. Add it to the payload and bump to 4.18.4. Co-authored-by: firecrawl-spring[bot] <254786068+firecrawl-spring[bot]@users.noreply.github.com> Co-authored-by: micahstairs <[email protected]>
rkfshakti
added a commit
to rkfshakti/firecrawl
that referenced
this pull request
Sep 12, 2026
The ignoreRobotsTxt option was declared in CrawlOptions types but never forwarded to the API in prepareCrawlPayload(). This is the same class of bug as robotsUserAgent (fixed in firecrawl#3403) — both were added in the same PR (firecrawl#3375) but only robotsUserAgent was wired into the payload. Closes firecrawl#3940.
rkfshakti
added a commit
to rkfshakti/firecrawl
that referenced
this pull request
Sep 15, 2026
The ignoreRobotsTxt option was declared in CrawlOptions types but never forwarded to the API in prepareCrawlPayload(). This is the same class of bug as robotsUserAgent (fixed in firecrawl#3403) — both were added in the same PR (firecrawl#3375) but only robotsUserAgent was wired into the payload. Closes firecrawl#3940.
rkfshakti
added a commit
to rkfshakti/firecrawl
that referenced
this pull request
Sep 16, 2026
The ignoreRobotsTxt option was declared in CrawlOptions types but never forwarded to the API in prepareCrawlPayload(). This is the same class of bug as robotsUserAgent (fixed in firecrawl#3403) — both were added in the same PR (firecrawl#3375) but only robotsUserAgent was wired into the payload. Closes firecrawl#3940.
rkfshakti
added a commit
to rkfshakti/firecrawl
that referenced
this pull request
Sep 19, 2026
The ignoreRobotsTxt option was declared in CrawlOptions types but never forwarded to the API in prepareCrawlPayload(). This is the same class of bug as robotsUserAgent (fixed in firecrawl#3403) — both were added in the same PR (firecrawl#3375) but only robotsUserAgent was wired into the payload. Closes firecrawl#3940.
rkfshakti
added a commit
to rkfshakti/firecrawl
that referenced
this pull request
Sep 23, 2026
The ignoreRobotsTxt option was declared in CrawlOptions types but never forwarded to the API in prepareCrawlPayload(). This is the same class of bug as robotsUserAgent (fixed in firecrawl#3403) — both were added in the same PR (firecrawl#3375) but only robotsUserAgent was wired into the payload. Closes firecrawl#3940.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
prepareCrawlPayloadinapps/js-sdk/firecrawl/src/v2/methods/crawl.tswas silently droppingrobotsUserAgent, socrawl()calls passing that option sent it to/v2/crawlwithout the field. Add it to the payload alongside the other crawler-level options.@mendable/firecrawl-jsto4.18.4.Test plan
crawl({ url, robotsUserAgent: "MJ12bot", ... })from the JS SDK and confirm the outgoing request body includesrobotsUserAgent.Summary by cubic
Fixes the JS SDK so
robotsUserAgentis forwarded incrawlpayloads, letting the API honor a custom robots user agent. Bumps@mendable/firecrawl-jsto4.18.4.Written for commit a025c24. Summary will update on new commits.