unclecode / crawl4ai

🔥🕷️ Crawl4AI: Open-source LLM Friendly Web Crawler & Scrapper
Apache License 2.0
16.58k stars 1.23k forks source link

feat(config): Adding a configurable way of setting the cache directory for constrained environments #255

Closed maheshpec closed 1 week ago

maheshpec commented 1 week ago

For issues like #252 or #216 where there's a need to configure the cache directory, this PR would be useful. Its a dead simple PR which just replaces all Path.home() with a os.getenv call

unclecode commented 1 week ago

Thank you for your contribution. Users now have more freedom to set the directory in different ways.