Repository navigation
feat(sdk): add ignoreRobotsTxt and robotsUserAgent to JS, Python, and Java SDKs - #3375
Merged
Merged
Conversation
… Java SDKs Co-Authored-By: micahstairs <[email protected]>
Contributor
Contributor
There was a problem hiding this comment.
2 issues found across 4 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="apps/python-sdk/firecrawl/v2/types.py">
<violation number="1" location="apps/python-sdk/firecrawl/v2/types.py:602">
P2: Map the crawl-params response field before constructing `CrawlParamsData`; otherwise `robots_user_agent` will never be populated from API responses.</violation>
<violation number="2" location="apps/python-sdk/firecrawl/v2/types.py:602">
P2: Add the async request-field mapping for `robots_user_agent`; otherwise async crawl payloads will serialize the new option under the wrong key.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.
…ions - Add ignore_robots_txt and robots_user_agent to async crawl request field mappings - Add ignoreRobotsTxt and robotsUserAgent to crawl_params_preview response mappings (sync + async) - Bump Python SDK 4.22.1 → 4.22.2 - Bump JS SDK 4.18.2 → 4.18.3 - Bump Java SDK 1.2.0 → 1.2.1 Co-Authored-By: micahstairs <[email protected]>
micahstairs
approved these changes
Apr 15, 2026
This was referenced Jul 2, 2026
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
… Java SDKs (firecrawl#3375) 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
ignoreRobotsTxtandrobotsUserAgentcrawl parameters to the JS/TS, Python, and Java SDKsignoreRobotsorg flagChanges
CrawlOptionsinterfacerobots_user_agenttoCrawlRequestandCrawlParamsDatamodels, plus the camelCase field mappingSummary by cubic
Adds
ignoreRobotsTxtandrobotsUserAgentto the JS/TS, Python, and Java SDKs to control robots.txt behavior, gated by theignoreRobotsorg flag. Fixes Python field mappings and bumps SDK versions.New Features
ignoreRobotsTxtandrobotsUserAgenttoCrawlOptions.ignore_robots_txtandrobots_user_agenttoCrawlRequestandCrawlParamsData.ignoreRobotsTxtandrobotsUserAgentfields, getters, builder methods, and build wiring inCrawlOptions.Bug Fixes
ignoreRobotsTxtandrobotsUserAgent.@mendable/firecrawl-js4.18.3,firecrawl4.22.2, Java SDK 1.2.1.Written for commit a4b925c. Summary will update on new commits.