| name | web_fetcher_skill |
| description | Fetch web content from a URL, supporting plain-text extraction and raw HTML output. Use this skill when you need to retrieve information from websites. |
Web Fetcher
Use Cases
Use this skill when you need web content:
- Fetch news article content
- Extract text from webpages
- Retrieve JSON from API endpoints
Steps
- Prepare the target URL.
- Run
node scripts/fetch.js <url> [format].
- The script returns webpage content.
Command
node scripts/fetch.js <url> [format]
url: target URL (required)
format: output format, text (default) or html
Output Format
- Success: webpage content (text or HTML)
- Failure: error message
Examples
node scripts/fetch.js "https://example.com/article"
node scripts/fetch.js "https://example.com" html
node scripts/fetch.js "https://api.github.com/users/github"
Notes
- Some websites may block scraping
- Large pages may take longer to fetch
- Only HTTP/HTTPS is supported