跳转到内容
Agentic Workflowdocs
v0.8.2免费安装

节点 / extension

Get Page Assets

Get asset and downloadable link URLs from the opened page

页面内操作 扩展程序网页应用 — 不可用

此内容尚不支持你的语言。

List the files a page uses or offers for download (images, documents, video, audio, scripts, styles) with their names and types.

Get Page Assets scans the active tab, or the area inside DOM Selector, and returns one item per file found. Turn each kind on or off under Options:

  • Images (on): <img> images and background images set by the page’s styles.
  • Downloadable Links (on): links that point to a file. A link counts when it has a download attribute, or when its address ends in a known file type such as .pdf, .zip, .csv, .docx, .xlsx, .mp3, .mp4, .png or .json. Links to ordinary web pages are left out.
  • Media (on): video and audio sources.
  • Scripts (off) and Styles (off): the page’s script files and stylesheets.

Addresses are made absolute, and the same file is listed only once per kind.

  • Collect every PDF or spreadsheet linked from a page, then download or read them.
  • Build a list of the media on a page, with file names ready to use.
  • For just image URLs as a simple list, Get All Images is enough. For every link, including ordinary pages, use Get All Link.
设置项类型作用
DOM Selector Page elementThe selector of the DOM element to interact with.
Options Group
Options › Images Toggle 默认值:On
Options › Downloadable Links Toggle 默认值:On
Options › Media Toggle 默认值:On
Options › Scripts Toggle 默认值:Off
Options › Styles Toggle 默认值:Off

Leave DOM Selector empty to scan the whole page, or click the crosshair button in the field and click the area to scan (a downloads section, an article).

  • Output

Each run returns a list of items with these fields:

Field类型What it holds
url Text
category Choice
tagName Text
selector Text
text Text
filename Text
extension Text
Shape of an output item
[
{
"url": "…",
"category": "…",
"tagName": "…",
"selector": "…",
"text": "…",
"filename": "…",
"extension": "…"
}
]
  • url: the full address of the file.
  • category: image, link, media, script or style.
  • filename and extension: taken from the address, for example report-2026.pdf and pdf. Both are empty when the address has no file name.
  • text: the text of the element, such as a link’s label (“Download the annual report”).
  • selector: where the element is on the page.

None. This node needs no connection and has no slots for other nodes.

  1. Open a page that lists reports and run the workflow from a Hotkey trigger.
  2. Add Get Page Assets with only Downloadable Links on.
  3. Add Filter to keep items where {{ $input.extension }} equals pdf.
  4. Add Http Request with URL = {{ $input.url }} and Response format = file, then PDF Parser to read each PDF.
  • The output is empty. No file of the selected kinds was found, or DOM Selector matched nothing. Turn on more kinds under Options, or scan the whole page.
  • A download link is missing. Its address does not end in a known file type (for example a link like /download?id=42) and it has no download attribute. Use Get All Link to see every link.
  • Too many small images (icons, logos). Turn Images off, or narrow the scan with DOM Selector.
  • The node fails outside the extension. This node runs in the browser extension; install it or run the workflow from the extension.
编辑此页

最近更新:

Was this page useful?
向 Aria 询问“Get Page Assets”