From 06204bd825614ce3a5e523b30739ff131e46b65e Mon Sep 17 00:00:00 2001 From: Nicolas Date: Fri, 18 Apr 2025 01:52:23 -0700 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 38b5bcaa..6fd1b824 100644 --- a/README.md +++ b/README.md @@ -511,7 +511,7 @@ class TopArticlesSchema(BaseModel): json_config = ExtractConfig(schema=TopArticlesSchema.model_json_schema()) -llm_extraction_result = app.scrape_url('https://news.ycombinator.com', formats=["extract"], json=json_config) +llm_extraction_result = app.scrape_url('https://news.ycombinator.com', formats=["json"], json=json_config) print(llm_extraction_result.json) ```