scrape_template
Extract structured data from popular websites using predefined templates. Pass a template ID and URL to get parsed results without custom selectors.
Instructions
Use this when you want structured data from a well-known site without writing custom selectors. Pass template:"list" to see all available templates. Supports: amazon-product, linkedin-profile, github-repo, youtube-video, tweet, reddit-thread, hacker-news-front-page, producthunt-launch, stackoverflow-question, npm-package. Example: scrape_template({template:"github-repo", url:"https://github.com/user/repo"})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to scrape — required unless template is list | |
| timeout | No | Request timeout in milliseconds | |
| template | Yes | Template ID (e.g. github-repo) or list to enumerate available templates |