download-anything

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Download Anything

下载任意资源

Find it. Download it. Any resource, any format.
找到它,下载它。任意资源,任意格式。

Toolkit

工具集

bash
undefined
bash
undefined

Install all tools at once

Install all tools at once

bash scripts/install-toolkit.sh

| Tool | Install | Purpose |
|------|---------|---------|
| `yt-dlp` | `brew install yt-dlp` | Video/audio from 1800+ sites |
| `aria2c` | `brew install aria2` | Multi-thread downloads, torrents |
| `gallery-dl` | `pip3 install gallery-dl` | Batch image/media, 170+ sites |
| `spotdl` | `pip3 install spotdl` | Spotify playlists → local files |
| `wget` | `brew install wget` | Recursive downloads, site mirroring |
| `curl` | pre-installed | HTTP requests, API calls |
| `ffmpeg` | `brew install ffmpeg` | Media conversion |
| `jq` | `brew install jq` | JSON parsing for automation |
bash scripts/install-toolkit.sh

| 工具 | 安装方式 | 用途 |
|------|---------|---------|
| `yt-dlp` | `brew install yt-dlp` | 从1800+站点下载视频/音频 |
| `aria2c` | `brew install aria2` | 多线程下载、种子文件下载 |
| `gallery-dl` | `pip3 install gallery-dl` | 批量下载图片/媒体,支持170+站点 |
| `spotdl` | `pip3 install spotdl` | 将Spotify播放列表保存为本地文件 |
| `wget` | `brew install wget` | 递归下载、站点镜像 |
| `curl` | 预安装 | HTTP请求、API调用 |
| `ffmpeg` | `brew install ffmpeg` | 媒体格式转换 |
| `jq` | `brew install jq` | 用于自动化的JSON解析 |

Decision Tree

决策树

Want to download...Tool / Approach
YouTube / social media video
scripts/dl-video.sh URL
(auto-detects Bilibili cookies)
Audio from any video URL
scripts/dl-audio.sh URL
Spotify playlist/album/track
spotdl URL
Images from gallery/artist page
scripts/dl-gallery.sh URL
A direct file URL (fast)
scripts/dl-file.sh URL
(aria2, 16 connections)
A torrent or magnet link
scripts/dl-torrent.sh "magnet:..."
Subtitles for a video
scripts/dl-subtitle.sh QUERY
An ebook or paperreferences/ebooks.md
A movie or TV showreferences/video.md
Music / game soundtracks / OSTreferences/music.md
Software or appreferences/software.md
Stock images/video/audio/fontsreferences/media-assets.md
Chinese cloud drive resourcesreferences/cloud-search.md
Online coursesreferences/education.md
Something else / not surereferences/search-techniques.md
想要下载...工具/方法
YouTube/社交媒体视频
scripts/dl-video.sh URL
(自动识别Bilibili cookies)
从任意视频URL提取音频
scripts/dl-audio.sh URL
Spotify播放列表/专辑/单曲
spotdl URL
图库/艺术家页面的图片
scripts/dl-gallery.sh URL
直接文件URL(高速下载)
scripts/dl-file.sh URL
(使用aria2,16线程)
种子文件或磁力链接
scripts/dl-torrent.sh "magnet:..."
视频字幕
scripts/dl-subtitle.sh QUERY
电子书或论文references/ebooks.md
电影或电视剧references/video.md
音乐/游戏原声/OSTreferences/music.md
软件或应用references/software.md
免费素材(图片/视频/音频/字体)references/media-assets.md
中文云盘资源references/cloud-search.md
在线课程references/education.md
其他/不确定的资源references/search-techniques.md

Scripts

脚本说明

All in
scripts/
. Each does one thing. Compose as needed.
ScriptWhat it doesKey args
install-toolkit.sh
Install all CLI tools
dl-video.sh URL [QUALITY]
Download video (auto cookies for Bilibili)
best
/
1080
/
720
/
480
dl-audio.sh URL [FORMAT]
Extract audio
mp3
/
opus
/
flac
/
best
dl-file.sh URL [OUTPUT]
Fast multi-thread download16 connections via aria2
dl-gallery.sh URL [DIR] [ARGS...]
Batch download imagesextra args passed to gallery-dl
dl-torrent.sh MAGNET [DIR]
Download torrent/magnetvia aria2
dl-subtitle.sh QUERY [LANG]
Search & download subtitles
en
/
zh
/
ja
etc.
所有脚本都在
scripts/
目录下,每个脚本只实现一个功能,可按需组合使用。
脚本功能关键参数
install-toolkit.sh
安装所有CLI工具
dl-video.sh URL [QUALITY]
下载视频(自动适配Bilibili cookies)
best
/
1080
/
720
/
480
dl-audio.sh URL [FORMAT]
提取音频
mp3
/
opus
/
flac
/
best
dl-file.sh URL [OUTPUT]
高速多线程下载通过aria2实现16线程
dl-gallery.sh URL [DIR] [ARGS...]
批量下载图片额外参数将传递给gallery-dl
dl-torrent.sh MAGNET [DIR]
下载种子/磁力链接通过aria2实现
dl-subtitle.sh QUERY [LANG]
搜索并下载字幕
en
/
zh
/
ja

Quick One-Liners

快速单行命令

bash
undefined
bash
undefined

Best quality video

Best quality video

yt-dlp -f "bv*+ba/b" "URL"
yt-dlp -f "bv*+ba/b" "URL"

1080p video + subtitles

1080p video + subtitles

yt-dlp -f "bv[height<=1080]+ba/b" --write-subs --sub-langs "en,zh" "URL"
yt-dlp -f "bv[height<=1080]+ba/b" --write-subs --sub-langs "en,zh" "URL"

Extract audio as MP3

Extract audio as MP3

yt-dlp -x --audio-format mp3 "URL"
yt-dlp -x --audio-format mp3 "URL"

Download YouTube playlist

Download YouTube playlist

yt-dlp --yes-playlist "URL"
yt-dlp --yes-playlist "URL"

Fast file download (16 connections)

Fast file download (16 connections)

aria2c -x16 -s16 -k1M "URL"
aria2c -x16 -s16 -k1M "URL"

Download magnet

Download magnet

aria2c --seed-time=0 "magnet:?xt=..."
aria2c --seed-time=0 "magnet:?xt=..."

Batch images from gallery

Batch images from gallery

gallery-dl "URL"
gallery-dl "URL"

Spotify album → local MP3s

Spotify album → local MP3s

spotdl "SPOTIFY_URL"
spotdl "SPOTIFY_URL"

All PDFs from a page

All PDFs from a page

wget -r -l1 -A "*.pdf" "URL"
wget -r -l1 -A "*.pdf" "URL"

Video metadata as JSON (automation)

Video metadata as JSON (automation)

yt-dlp -j "URL"
yt-dlp -j "URL"

Get direct URL without downloading

Get direct URL without downloading

yt-dlp -g "URL"
undefined
yt-dlp -g "URL"
undefined

Agent Automation Patterns

Agent自动化模式

Video pipeline:
yt-dlp -j URL
→ parse JSON → select format →
yt-dlp -f FORMAT URL -o OUTPUT
Ebook search: Search Anna's Archive / Z-Library / 鸠摩搜书 → get download page → extract link →
aria2c
Bulk media:
gallery-dl --dump-json URL
→ review items →
gallery-dl -d OUTPUT URL
Music:
spotdl SPOTIFY_URL
(auto YouTube match + metadata) or
yt-dlp -x --audio-format mp3 YOUTUBE_URL
视频处理流程:
yt-dlp -j URL
→ 解析JSON → 选择格式 →
yt-dlp -f FORMAT URL -o OUTPUT
电子书搜索: 搜索Anna's Archive/Z-Library/鸠摩搜书 → 获取下载页面 → 提取链接 →
aria2c
下载
批量媒体处理:
gallery-dl --dump-json URL
→ 审核内容 →
gallery-dl -d OUTPUT URL
下载
音乐处理:
spotdl SPOTIFY_URL
(自动匹配YouTube资源并添加元数据)或使用
yt-dlp -x --audio-format mp3 YOUTUBE_URL

Domain Instability

域名不稳定性说明

Many resource sites rotate domains. When a URL fails:
  1. Search:
    [site name] mirror 2026
    or
    [站名] 最新地址
  2. Check Reddit/Twitter for community mirror lists
  3. Anna's Archive = most resilient ebook meta-search
  4. For Chinese cloud search: check 网盘之家导航 for latest links
许多资源站点会更换域名。当某个URL失效时:
  1. 搜索:
    [站点名称] mirror 2026
    [站名] 最新地址
  2. 查看Reddit/Twitter上的社区镜像列表
  3. Anna's Archive是最稳定的电子书元搜索引擎
  4. 中文云盘搜索:查看网盘之家导航获取最新链接

References

参考文档

FileContent
ebooks.mdEbook sites, academic papers, audiobooks, manga, Chinese books
video.mdTorrent sites, DDL, subtitles, anime, Chinese video
music.mdFree music, download tools, Chinese music, podcasts
software.mdSoftware archives, package managers, Chinese sites
media-assets.mdStock images, video, audio, fonts
cloud-search.mdChinese cloud drive search (百度/阿里/夸克)
education.mdFree courses and MOOCs
tools-reference.mdDetailed CLI syntax and advanced flags
search-techniques.mdGoogle dorks, search strategies
文件内容
ebooks.md电子书站点、学术论文、有声书、漫画、中文书籍
video.md种子站点、直接下载链接、字幕、动漫、中文视频资源
music.md免费音乐、下载工具、中文音乐、播客
software.md软件存档、包管理器、中文软件站点
media-assets.md免费素材(图片、视频、音频、字体)
cloud-search.md中文云盘搜索(百度/阿里/夸克)
education.md免费课程与MOOC
tools-reference.md详细的CLI语法和高级参数
search-techniques.mdGoogle dorks、搜索策略