Add craw4ai

This commit is contained in:
2025-11-04 22:22:40 +11:00
parent d5d6855834
commit 4d256c2e07
11 changed files with 181 additions and 25 deletions
+5
View File
@@ -212,6 +212,11 @@ R2_ACCESS_KEY_ID = os.environ.get('R2_ACCESS_KEY_ID')
R2_SECRET_ACCESS_KEY = os.environ.get('R2_SECRET_ACCESS_KEY')
R2_BUCKET_NAME = os.environ.get('R2_BUCKET_NAME')
R2_CUSTOM_DOMAIN = os.environ.get('R2_CUSTOM_DOMAIN')
# Crawl4AI Configuration
CRAWL4AI_API_URL = os.environ.get('CRAWL4AI_API_URL', 'https://crawl-api.junv.cc')
CRAWL4AI_ENABLED = os.environ.get('CRAWL4AI_ENABLED', 'True').lower() in ('true', '1', 'yes')
# For debugging
LOGGING = {
'version': 1,