Update README.md

This commit is contained in:
Nicolas 2025-04-18 01:52:23 -07:00 committed by GitHub
parent 54712d2712
commit 06204bd825
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
```