Download Anything
Find it. Download it. Any resource, any format.
Toolkit
# 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 |
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 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 |
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 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
# Best quality video
yt-dlp -f "bv*+ba/b" "URL"
# 1080p video + subtitles
yt-dlp -f "bv[height<=1080]+ba/b" --write-subs --sub-langs "en,zh" "URL"
# Extract audio as MP3
yt-dlp -x --audio-format mp3 "URL"
# Download YouTube playlist
yt-dlp --yes-playlist "URL"
# Fast file download (16 connections)
aria2c -x16 -s16 -k1M "URL"
# Download magnet
aria2c --seed-time=0 "magnet:?xt=..."
# Batch images from gallery
gallery-dl "URL"
# Spotify album → local MP3s
spotdl "SPOTIFY_URL"
# All PDFs from a page
wget -r -l1 -A "*.pdf" "URL"
# Video metadata as JSON (automation)
yt-dlp -j "URL"
# Get direct URL without downloading
yt-dlp -g "URL"
Agent Automation Patterns
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
Domain Instability
Many resource sites rotate domains. When a URL fails:
- Search:
[site name] mirror 2026 or [站名] 最新地址
- 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 |
1---2name: download-anything3description: Find and download virtually any digital resource from the internet — ebooks, academic papers, movies, TV shows, music, software, images, fonts, courses, and more. Covers both English and Chinese internet ecosystems. Includes CLI tool workflows (yt-dlp, aria2, gallery-dl, spotdl), resource site directories, cloud drive search engines (百度/阿里/夸克网盘搜索), and search techniques (Google dorks). Use when the user wants to: (1) download a video, audio, or media from a URL, (2) find and download an ebook or academic paper, (3) find and download software, (4) search for any digital resource, (5) batch download images or media from a gallery/site, (6) download torrents or magnet links, (7) find free stock assets (images, video, audio, fonts), (8) search Chinese cloud drives for resources, or (9) any task involving finding or downloading digital content from the internet.4---5
6# Download Anything
7
8Find it. Download it. Any resource, any format.
9
10## Toolkit
11
12```bash
13# Install all tools at once
14bash scripts/install-toolkit.sh
15```
16
17| Tool | Install | Purpose |
18|------|---------|---------|
19| `yt-dlp` | `brew install yt-dlp` | Video/audio from 1800+ sites |
20| `aria2c` | `brew install aria2` | Multi-thread downloads, torrents |
21| `gallery-dl` | `pip3 install gallery-dl` | Batch image/media, 170+ sites |
22| `spotdl` | `pip3 install spotdl` | Spotify playlists → local files |
23| `wget` | `brew install wget` | Recursive downloads, site mirroring |
24| `curl` | pre-installed | HTTP requests, API calls |
25| `ffmpeg` | `brew install ffmpeg` | Media conversion |
26| `jq` | `brew install jq` | JSON parsing for automation |
27
28## Decision Tree
29
30| Want to download... | Tool / Approach |
31|---------------------|----------------|
32| YouTube / social media video | `scripts/dl-video.sh URL` (auto-detects Bilibili cookies) |
33| Audio from any video URL | `scripts/dl-audio.sh URL` |
34| Spotify playlist/album/track | `spotdl URL` |
35| Images from gallery/artist page | `scripts/dl-gallery.sh URL` |
36| A direct file URL (fast) | `scripts/dl-file.sh URL` (aria2, 16 connections) |
37| A torrent or magnet link | `scripts/dl-torrent.sh "magnet:..."` |
38| Subtitles for a video | `scripts/dl-subtitle.sh QUERY` |
39| An ebook or paper | → [references/ebooks.md](references/ebooks.md) |
40| A movie or TV show | → [references/video.md](references/video.md) |
41| Music / game soundtracks / OST | → [references/music.md](references/music.md) |
42| Software or app | → [references/software.md](references/software.md) |
43| Stock images/video/audio/fonts | → [references/media-assets.md](references/media-assets.md) |
44| Chinese cloud drive resources | → [references/cloud-search.md](references/cloud-search.md) |
45| Online courses | → [references/education.md](references/education.md) |
46| Something else / not sure | → [references/search-techniques.md](references/search-techniques.md) |
47
48## Scripts
49
50All in `scripts/`. Each does one thing. Compose as needed.
51
52| Script | What it does | Key args |
53|--------|-------------|----------|
54| `install-toolkit.sh` | Install all CLI tools | — |
55| `dl-video.sh URL [QUALITY]` | Download video (auto cookies for Bilibili) | `best`/`1080`/`720`/`480` |
56| `dl-audio.sh URL [FORMAT]` | Extract audio | `mp3`/`opus`/`flac`/`best` |
57| `dl-file.sh URL [OUTPUT]` | Fast multi-thread download | 16 connections via aria2 |
58| `dl-gallery.sh URL [DIR] [ARGS...]` | Batch download images | extra args passed to gallery-dl |
59| `dl-torrent.sh MAGNET [DIR]` | Download torrent/magnet | via aria2 |
60| `dl-subtitle.sh QUERY [LANG]` | Search & download subtitles | `en`/`zh`/`ja` etc. |
61
62## Quick One-Liners
63
64```bash
65# Best quality video
66yt-dlp -f "bv*+ba/b" "URL"
67
68# 1080p video + subtitles
69yt-dlp -f "bv[height<=1080]+ba/b" --write-subs --sub-langs "en,zh" "URL"
70
71# Extract audio as MP3
72yt-dlp -x --audio-format mp3 "URL"
73
74# Download YouTube playlist
75yt-dlp --yes-playlist "URL"
76
77# Fast file download (16 connections)
78aria2c -x16 -s16 -k1M "URL"
79
80# Download magnet
81aria2c --seed-time=0 "magnet:?xt=..."
82
83# Batch images from gallery
84gallery-dl "URL"
85
86# Spotify album → local MP3s
87spotdl "SPOTIFY_URL"
88
89# All PDFs from a page
90wget -r -l1 -A "*.pdf" "URL"
91
92# Video metadata as JSON (automation)
93yt-dlp -j "URL"
94
95# Get direct URL without downloading
96yt-dlp -g "URL"
97```
98
99## Agent Automation Patterns
100
101**Video pipeline:** `yt-dlp -j URL` → parse JSON → select format → `yt-dlp -f FORMAT URL -o OUTPUT`
102
103**Ebook search:** Search Anna's Archive / Z-Library / 鸠摩搜书 → get download page → extract link → `aria2c`
104
105**Bulk media:** `gallery-dl --dump-json URL` → review items → `gallery-dl -d OUTPUT URL`
106
107**Music:** `spotdl SPOTIFY_URL` (auto YouTube match + metadata) or `yt-dlp -x --audio-format mp3 YOUTUBE_URL`
108
109## Domain Instability
110
111Many resource sites rotate domains. When a URL fails:
1121. Search: `[site name] mirror 2026` or `[站名] 最新地址`
1132. Check Reddit/Twitter for community mirror lists
1143. Anna's Archive = most resilient ebook meta-search
1154. For Chinese cloud search: check 网盘之家导航 for latest links
116
117## References
118
119| File | Content |
120|------|---------|
121| [ebooks.md](references/ebooks.md) | Ebook sites, academic papers, audiobooks, manga, Chinese books |
122| [video.md](references/video.md) | Torrent sites, DDL, subtitles, anime, Chinese video |
123| [music.md](references/music.md) | Free music, download tools, Chinese music, podcasts |
124| [software.md](references/software.md) | Software archives, package managers, Chinese sites |
125| [media-assets.md](references/media-assets.md) | Stock images, video, audio, fonts |
126| [cloud-search.md](references/cloud-search.md) | Chinese cloud drive search (百度/阿里/夸克) |
127| [education.md](references/education.md) | Free courses and MOOCs |
128| [tools-reference.md](references/tools-reference.md) | Detailed CLI syntax and advanced flags |
129| [search-techniques.md](references/search-techniques.md) | Google dorks, search strategies |