fix the EXTRACT to match the styling of the other methods
This commit is contained in:
@@ -585,11 +585,13 @@ class AsyncWebCrawler:
|
|||||||
# Choose content based on input_format
|
# Choose content based on input_format
|
||||||
content_format = config.extraction_strategy.input_format
|
content_format = config.extraction_strategy.input_format
|
||||||
if content_format == "fit_markdown" and not markdown_result.fit_markdown:
|
if content_format == "fit_markdown" and not markdown_result.fit_markdown:
|
||||||
self.logger.warning(
|
|
||||||
message="Fit markdown requested but not available. Falling back to raw markdown.",
|
self.logger.url_status(
|
||||||
tag="EXTRACT",
|
url=_url,
|
||||||
params={"url": _url},
|
success=bool(html),
|
||||||
)
|
timing=time.perf_counter() - t1,
|
||||||
|
tag="EXTRACT",
|
||||||
|
)
|
||||||
content_format = "markdown"
|
content_format = "markdown"
|
||||||
|
|
||||||
content = {
|
content = {
|
||||||
|
|||||||
Reference in New Issue
Block a user