- Notifications
You must be signed in to change notification settings - Fork 5.5k
Crawlbase - new action crawl-url #18650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
WalkthroughAdds a new Crawl URL action using a refactored Crawlbase app client. Introduces a constants module with scraper identifiers. Replaces a deprecated auth method with a generic request helper. Updates package metadata and adds a dependency. Changes
Sequence Diagram(s)sequenceDiagram autonumber participant U as User participant A as Crawl URL Action participant C as Crawlbase App (makeRequest) participant API as Crawlbase API U->>A: Provide props (url, scraper, screenshot, store, getHeaders) A->>C: makeRequest({ path:"/...", params:{ url, scraper, screenshot, store, get_headers, format } }) C->>API: HTTP request with api_token and params API-->>C: Response (result payload) C-->>A: Response A-->>U: Export summary "Successfully crawled URL: <url>" and return response Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
🧰 Additional context used🧬 Code graph analysis (1)components/crawlbase/crawlbase.app.mjs (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Resolves #10939
Summary by CodeRabbit
New Features
Chores