fetch_article
Extract structured article data including title, text, author, and publication date from any news article URL.
Instructions
Fetch a news article by URL and return structured data.
Args:
url: The URL of the news article.
Returns:
A dict with keys: title, text, author, date.
Raises:
ValueError: If URL is invalid or article cannot be parsed.
requests.RequestException: If HTTP request fails.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||