Download Anything
Find it. Download it. Any resource, any format.
Toolkit
CODEBLOCK0
| Tool | Install | Purpose |
|---|
| INLINECODE0 | INLINECODE1 | Video/audio from 1800+ sites |
| INLINECODE2 |
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 |
Decision Tree
| Want to download... | Tool / Approach |
|---|
| YouTube / social media video | INLINECODE15 (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 paper | →
references/ebooks.md |
| A movie or TV show | →
references/video.md |
| Music / game soundtracks / OST | →
references/music.md |
| Software or app | →
references/software.md |
| Stock images/video/audio/fonts | →
references/media-assets.md |
| Chinese cloud drive resources | →
references/cloud-search.md |
| Online courses | →
references/education.md |
| Something else / not sure | →
references/search-techniques.md |
Scripts
All in scripts/. Each does one thing. Compose as needed.
| Script | What it does | Key args |
|---|
| INLINECODE23 | Install all CLI tools | — |
| INLINECODE24 |
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 download | 16 connections via aria2 |
|
dl-gallery.sh URL [DIR] [ARGS...] | Batch download images | extra args passed to gallery-dl |
|
dl-torrent.sh MAGNET [DIR] | Download torrent/magnet | via aria2 |
|
dl-subtitle.sh QUERY [LANG] | Search & download subtitles |
en/
zh/
ja etc. |
Quick One-Liners
CODEBLOCK1
Agent Automation Patterns
Video pipeline: yt-dlp -j URL → parse JSON → select format → INLINECODE42
Ebook search: Search Anna's Archive / Z-Library / 鸠摩搜书 → get download page → extract link → INLINECODE43
Bulk media: gallery-dl --dump-json URL → review items → INLINECODE45
Music: spotdl SPOTIFY_URL (auto YouTube match + metadata) or INLINECODE47
Domain Instability
Many resource sites rotate domains. When a URL fails:
- 1. Search:
[site name] mirror 2026 or INLINECODE49 - Check Reddit/Twitter for community mirror lists
- Anna's Archive = most resilient ebook meta-search
- For Chinese cloud search: check 网盘之家导航 for latest links
References
| File | Content |
|---|
| ebooks.md | Ebook sites, academic papers, audiobooks, manga, Chinese books |
| video.md |
Torrent sites, DDL, subtitles, anime, Chinese video |
|
music.md | Free music, download tools, Chinese music, podcasts |
|
software.md | Software archives, package managers, Chinese sites |
|
media-assets.md | Stock images, video, audio, fonts |
|
cloud-search.md | Chinese cloud drive search (百度/阿里/夸克) |
|
education.md | Free courses and MOOCs |
|
tools-reference.md | Detailed CLI syntax and advanced flags |
|
search-techniques.md | Google dorks, search strategies |
下载一切
找到它。下载它。任何资源,任何格式。
工具包
bash
一键安装所有工具
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解析,用于自动化 |
决策树
| 想要下载... | 工具/方法 |
|---|
| YouTube/社交媒体视频 | scripts/dl-video.sh URL(自动检测B站Cookie) |
| 任意视频链接的音频 |
scripts/dl-audio.sh URL |
| Spotify歌单/专辑/单曲 | spotdl URL |
| 画廊/艺术家页面的图片 | scripts/dl-gallery.sh URL |
| 直接文件链接(快速) | scripts/dl-file.sh URL(aria2,16线程) |
| 种子或磁力链接 | scripts/dl-torrent.sh magnet:... |
| 视频字幕 | scripts/dl-subtitle.sh QUERY |
| 电子书或论文 | →
references/ebooks.md |
| 电影或电视剧 | →
references/video.md |
| 音乐/游戏原声/OST | →
references/music.md |
| 软件或应用 | →
references/software.md |
| 素材图片/视频/音频/字体 | →
references/media-assets.md |
| 网盘资源 | →
references/cloud-search.md |
| 在线课程 | →
references/education.md |
| 其他/不确定 | →
references/search-techniques.md |
脚本
全部位于 scripts/ 目录。每个脚本只做一件事。可按需组合使用。
| 脚本 | 功能 | 关键参数 |
|---|
| install-toolkit.sh | 安装所有CLI工具 | — |
| dl-video.sh URL [QUALITY] |
下载视频(B站自动使用Cookie) | 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等 |
快速单行命令
bash
最佳质量视频
yt-dlp -f bv*+ba/b URL
1080p视频+字幕
yt-dlp -f bv[height<=1080]+ba/b --write-subs --sub-langs en,zh URL
提取音频为MP3
yt-dlp -x --audio-format mp3 URL
下载YouTube播放列表
yt-dlp --yes-playlist URL
快速文件下载(16线程)
aria2c -x16 -s16 -k1M URL
下载磁力链接
aria2c --seed-time=0 magnet:?xt=...
批量下载画廊图片
gallery-dl URL
Spotify专辑→本地MP3
spotdl SPOTIFY_URL
下载页面中所有PDF
wget -r -l1 -A *.pdf URL
获取视频元数据为JSON(自动化用)
yt-dlp -j URL
获取直接下载链接(不下载文件)
yt-dlp -g URL
智能体自动化模式
视频处理流程: yt-dlp -j URL → 解析JSON → 选择格式 → yt-dlp -f FORMAT URL -o OUTPUT
电子书搜索: 搜索安娜的档案/Z-Library/鸠摩搜书 → 获取下载页面 → 提取链接 → aria2c
批量媒体: gallery-dl --dump-json URL → 审查项目 → gallery-dl -d OUTPUT URL
音乐: spotdl SPOTIFYURL(自动匹配YouTube+元数据)或 yt-dlp -x --audio-format mp3 YOUTUBEURL
域名不稳定性
许多资源网站会更换域名。当URL失效时:
- 1. 搜索:[网站名称] mirror 2026 或 [站名] 最新地址
- 查看Reddit/Twitter上的社区镜像列表
- 安娜的档案 = 最稳定的电子书元搜索
- 中文网盘搜索:查看网盘之家导航获取最新链接
参考资料
种子网站、直接下载、字幕、动漫、中文视频 |
|
music.md | 免费音乐、下载工具、中文音乐、播客 |
|
software.md | 软件存档、包管理器、中文网站 |
|
media-assets.md | 素材图片、视频、音频、字体 |
|
cloud-search.md | 中文网盘搜索(百度/阿里/夸克) |
|
education.md | 免费课程和MOOC |
|
tools-reference.md | 详细CLI语法和高级参数 |
|
search-techniques.md | Google搜索技巧、搜索策略 |