Files
crawl4ai/crawl4ai
unclecode 3937efcf0b Add base_url parameter to CrawlerRunConfig for raw HTML processing
When processing raw: HTML (e.g., from cache), the URL parameter is meaningless
for markdown link resolution. This adds a base_url parameter that can be set
explicitly to provide proper URL resolution context.

Changes:
- Add base_url parameter to CrawlerRunConfig.__init__
- Add base_url to CrawlerRunConfig.from_kwargs
- Update aprocess_html to use base_url for markdown generation

Usage:
  config = CrawlerRunConfig(base_url='https://example.com')
  result = await crawler.arun(url='raw:{html}', config=config)
2025-12-24 06:05:55 +00:00
..
2025-02-19 14:13:17 +08:00
2025-08-04 19:02:01 +08:00
2025-12-11 11:04:52 +01:00
2025-12-11 11:04:52 +01:00
2025-12-11 11:04:52 +01:00
2025-12-11 11:04:52 +01:00
2025-12-21 04:48:03 +00:00
2025-10-22 20:41:06 +08:00
2025-10-22 20:41:06 +08:00
2025-01-13 19:19:58 +08:00
2025-12-21 04:48:03 +00:00
2025-07-08 11:46:13 +02:00
2025-12-11 11:04:52 +01:00
2025-12-11 11:04:52 +01:00
2025-01-13 19:19:58 +08:00
2025-01-13 19:19:58 +08:00
2025-12-21 04:48:03 +00:00
2025-12-11 11:04:52 +01:00
2025-08-04 19:02:01 +08:00
2025-12-21 04:48:03 +00:00