Skip to content

fix(js-sdk): forward ignoreRobotsTxt in crawl payload; fix README community link - #4016

Closed
nankingjing wants to merge 1 commit into
firecrawl:mainfrom
nankingjing:fix/3940-3887-js-sdk-ignore-robots-community-link
Closed

nankingjing wants to merge 1 commit into
firecrawl:mainfrom
nankingjing:fix/3940-3887-js-sdk-ignore-robots-community-link

Conversation

@nankingjing

@nankingjing nankingjing commented Jul 14, 2026 •

Copy link
Copy Markdown

Summary

Two small fixes:

Fix 1: Forward ignoreRobotsTxt in JS SDK crawl payload (closes #3940)

The ignoreRobotsTxt option is declared in CrawlOptions (v2/types.ts) but prepareCrawlPayload in crawl.ts never included it in the POST body sent to the API. This adds the field forwarding with a != null guard, consistent with all other boolean options in the same function.

Fix 2: Fix "join our community" link in README (closes #3887)

The "join our community" hyperlink at the bottom of the feature list pointed to the GitHub repository rather than the Discord community. Updated to https://discord.gg/firecrawl.

Testing

  • The ignoreRobotsTxt change follows the identical pattern used by all other boolean fields in prepareCrawlPayload
  • README link change is a simple URL swap to the canonical Discord invite used elsewhere in the same file

Summary by cubic

Forwards ignoreRobotsTxt in the JS SDK crawl payload so the API respects this option. Updates the README “join our community” link to Discord.

Written for commit c4275c5. Summary will update on new commits.

Review in cubic

…munity link

- Add ignoreRobotsTxt field forwarding in prepareCrawlPayload (fixes firecrawl#3940)
- Update "join our community" link to Discord invite URL (fixes firecrawl#3887)

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Re-trigger cubic

@nankingjing

Copy link
Copy Markdown
Author

Closing this as superseded. #3959 (opened 2026-07-06) and #3962 (2026-07-07) both landed on the identical fix in apps/js-sdk/firecrawl/src/v2/methods/crawl.ts before this PR (2026-07-14), and both of those carry unit-test coverage that this one does not. Mine also bundled an unrelated README link change, which made it worse as a review candidate. No response needed — happy to reopen or split anything out if that's ever useful.

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.

[Bug] JS SDK v2 crawl() silently drops ignoreRobotsTxt option [Bug] "Join our community" link in README points to docs instead of community

1 participant