Download a link
downloadFetch a link and return a download URL, in one call. A Quark or PikPak share with folders or several
files answers status "pick_required" with a share_id and its files: call again with share_id and the
file_id of one file (open folders with list_files).
Waits up to `wait_seconds` for the file to be ready. If it is not ready yet, the result has
status "running" and a `job_id`: call `get_job`, then `get_download_link`. No token needed for
the first free files.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Share or file link from a supported site | |
| tier | No | "free" or "fast" | free |
| file_id | No | The id of the one file to download, from the share's list | |
| password | No | Extraction code / password, if any | |
| share_id | No | From a pick_required answer: the share the file is in | |
| wait_seconds | No | How long to wait for the file to be ready |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||