Skip to content

Conversation

@YuriNachos
Copy link

🎯 Summary

Fixes #1477

📝 Description

The code example in "4. Generating Markdown Output" section of the quickstart documentation was using CacheMode.BYPASS without importing CacheMode, which would cause a NameError when users try to run the example.

🔧 Changes

  • Added CacheMode to the imports from crawl4ai module in docs/md_v2/core/quickstart.md

✅ Before

from crawl4ai import AsyncWebCrawler, CrawlerRunConfig
# CacheMode not imported, but used in config

✅ After

from crawl4ai import AsyncWebCrawler, CrawlerRunConfig, CacheMode
# CacheMode is now properly imported

Co-Authored-By: Claude noreply@anthropic.com

Fixes unclecode#1477

The code example in "4. Generating Markdown Output" section was
using CacheMode.BYPASS without importing CacheMode, which would
cause a NameError when users try to run the example.

Added CacheMode to the imports from crawl4ai module.

Co-Authored-By: Claude <noreply@anthropic.com>
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]: incorrect "4. Generating Markdown Output" code example in Crawl4AI quick start documentation

1 participant