diff --git a/README.md b/README.md index c624543b..96878ea2 100644 --- a/README.md +++ b/README.md @@ -402,6 +402,7 @@ class TopArticlesSchema(BaseModel): top: List[ArticleSchema] = Field(..., max_items=5, description="Top 5 stories") data = app.scrape_url('https://news.ycombinator.com', { + 'formats': ['extract'], 'extract': { 'schema': TopArticlesSchema.model_json_schema() }