Actions15
Discover Links
AI-generatedSummary
Extract links from a specified web page URL using a headless browser session with customizable filtering and output formatting options.
Inputs
- URL (required) — The web page URL from which to discover links.
- Link Types (required) — Select which types of links to extract: internal (same domain) and/or external (different domains).
- Filter Options — Optional filters to exclude certain links by file type, URL patterns, presence on social media, or to include only links with visible anchor text or matching specific patterns.
- Output Options — Settings controlling output formatting such as deduplication of URLs, inclusion of link text/title metadata, output format structure (grouped or split items), and optional relevance scoring of links.
- Browser & Session — Configuration for the headless browser environment including browser engine selection, JavaScript enablement, stealth mode, custom headers, cookies, proxy settings, timeout values, viewport dimensions, user agent string, and session persistence to control how the page loads and how link discovery behaves.
Output shape
An object or array of link data representing discovered URLs from the target page.
Output format depends on the 'Output Format' setting: either a single grouped item with arrays of internal and external URLs or multiple items each containing one link. Each link item may include metadata (link text/title) and an optional relevance score. Duplicate URLs are removed by default. The operation performs link extraction using a headless browser session with caching enabled to optimize repeated requests.
Examples
Example 1: Extract all internal and external links from https://example\.com excluding links to PDFs and social media.
Set URL to https://example.com; Link Types to internal and external; under Filter Options, exclude file types "pdf" and enable excludeSocialMedia; leave output options as default for grouped, deduplicated links with metadata.
Example 2: Extract only internal links containing visible anchor text from a page, outputting each link as a separate item.
Set URL to target page; Link Types to internal only; enable 'Require Text' under Filter Options; set Output Format to 'Split (Multiple Items)' with deduplication enabled and metadata included.