check-links
Validates all links on a specified webpage by extracting anchor tags and checking their reachability via HEAD requests, identifying broken, valid, or invalid URLs for efficient link management.
Instructions
Fetches a given URL, extracts all anchor ('a') links, and checks each linked URL for validity (reachability via HEAD request). Returns a list of checked links with their status ('valid', 'broken', or 'invalid_url' if the href attribute couldn't be resolved to a full URL).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
url | Yes | The fully qualified URL of the web page to check for broken links. Must be a valid HTTP or HTTPS URL. |