docs: add Crawl4AI guide#942
Draft
vdusek wants to merge 1 commit into
Draft
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #942 +/- ##
==========================================
+ Coverage 86.87% 86.98% +0.10%
==========================================
Files 48 48
Lines 2942 2942
==========================================
+ Hits 2556 2559 +3
+ Misses 386 383 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Adds a guide for using the Crawl4AI LLM-friendly web crawler in Apify Actors, following the structure of the existing scraping-library guides (BeautifulSoup, Playwright, Scrapy).
What's included
docs/03_guides/10_crawl4ai.mdx— the guide: introduction & features, a runnable example Actor that crawls pages into LLM-ready markdown, Apify Proxy integration, and the Dockerfile / base-image setup for running the browser on the platform.docs/03_guides/code/crawl4ai_project/— the example Actor: a recursive markdown scraper using Crawl4AI'sAsyncWebCrawlerthrough Apify Proxy, plus its Dockerfile.pyproject.toml— a ruffI001per-file-ignore for the new code project (matches the existing Scrapy ignore).Notes
lxml < 6, which has nocp314wheels yet, so the 3.14 image would force a slow source build. Crawl4AI reuses the base image's pre-installed browser, so no extra browser-install step is needed in the Dockerfile.Verification
apify run) and on the Apify platform (build + run SUCCEEDED), producing dataset items withurl/title/markdown.ruff format --check,ruff check, andty checkpass.Numbered
10to sit after the in-progress uv (#932 →08) and Scrapling (#938 →09) guides.Part of #836.