Fetcher
Fetch the raw HTML of a URL and return it for further processing.
When to use
Use this skill when the user provides one or more URLs and asks you to fetch, retrieve, scrape, or get the HTML or page content.
Instructions
- Run
fetcher.pywith the URL as an argument:python fetcher.py <url> - If the script returns a successful HTML response, return the HTML to the conversation for use in the next step.
- If the script returns a
BLOCKEDstatus, re-run with the--zyteflag:python fetcher.py <url> --zyte - Inform the user if a URL could not be fetched after both attempts.
Notes
- For multiple URLs, run the script once per URL
- Pass the raw HTML output into the Parser skill for extraction