music-search
Original:🇨🇳 Chinese
Translated
4 scripts
Search for music resources (songs, albums, lossless music), and obtain resource links from Quark Cloud Drive, Baidu Netdisk, Alibaba Cloud Drive, and UC Cloud Drive. Trigger words: find music, search for songs, lossless music, FLAC download, music cloud drive, song download, album resources, music resources, APE download, DSD music, Hi-Res.
5installs
Sourcenetease-youdao/lobsterai
Added on
NPX Install
npx skill4agent add netease-youdao/lobsterai music-searchTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →Music Search Skill
Search for music resources (songs, albums, lossless music), crawl resource pages deeply through real-time crawlers, and obtain publicly shared resource links from various cloud drive platforms.
Prerequisites
- web-search skill (required, used to search and discover resource pages)
- Python 3 (required, used for deep page crawling with cloudscraper. Dependencies are automatically installed to on first run)
.venv
Commands
Search Resources
bash
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" search "关键词" [选项]Options:
| Parameter | Description | Default Value |
|---|---|---|
| Filter cloud drive type: | |
| Filter audio format: | |
| Maximum number of results per platform | |
| Search engine: | |
Engine Description:
- (default, recommended) — web-search to discover resource pages + cloudscraper deep crawling to extract cloud drive links and access codes, most accurate results
deep - — Extract links only from web-search engine snippets (fast, but lower accuracy, no deep crawling)
web
Examples:
bash
# 搜索所有平台的音乐资源(默认使用深度搜索)
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" search "周杰伦 范特西"
# 只搜夸克网盘 FLAC 资源
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" search "周杰伦 范特西" --pan quark --format flac
# 搜索 Hi-Res 高解析音乐
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" search "邓紫棋 光年之外" --format hires
# 限制结果数量
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" search "林俊杰 她说" --limit 10
# 使用浅层搜索(不深度抓取页面)
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" search "陈奕迅 十年" --engine webFor Windows systems, use the PowerShell script:
powershell
powershell -File "$SKILLS_ROOT/music-search/scripts/music-search.ps1" search "周杰伦 范特西" --pan quarkHot Recommendations
bash
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" hot "2025年热门专辑"It essentially calls the search with recommendation keywords and returns relevant cloud drive resources.
Parse Redirect Links
bash
bash "$SKILLS_ROOT/music-search/scripts/music-search.sh" resolve "https://example.com/goto/xxx"Use this command to parse the real cloud drive address when the link in the search results requires secondary redirection.
Agent Usage Process
- User says "Help me find XXX's music" → Execute
search "XXX" - Parse the returned JSON and extract cloud drive links
- Group and present to users by cloud drive type and audio format
- If there is an access code () in the result, display it to the user together
extractCode - If there is a but no direct
pageUrlin the result, use theurlcommand to get the real addressresolve
Sample Conversation:
User: Help me find the lossless resources of Jay Chou's Fantasy album, in FLAC formatAgent:
- Execute
search "周杰伦 范特西" --format flac- Extract matching items from JSON results
- Return: Title + Format + Cloud drive link + Access code (if any)
Output Format
All commands output JSON with the following structure:
json
{
"success": true,
"data": {
"query": "周杰伦 范特西",
"total": 5,
"results": [
{
"title": "资源标题",
"pan": "quark",
"url": "https://pan.quark.cn/s/xxx",
"format": "FLAC",
"extractCode": "ab12",
"source": "deep-search",
"pageUrl": "https://example.com/resource/123"
}
]
}
}Field Description:
- : Cloud drive type —
pan(Quark),quark(Baidu),baidu(Alibaba),aliyun(UC),uc(Magnet)magnet - : Detected audio format —
format,FLAC,APE,WAV,DSD,Hi-Res,AIFF,MP3,AAC, empty string means not detectedOGG - : Result source —
source(Deep crawling),deep-search(Search snippet)web-search - : Cloud drive sharing link (directly accessible)
url - : Access code/password (if detected)
extractCode - : Result source page URL
pageUrl
Configuration
Edit to customize preferences:
music-search/.envbash
# 偏好的网盘类型(逗号分隔,排在前面的优先展示)
MUSIC_SEARCH_PREFERRED_PAN=quark,aliyun,baidu,uc
# 深度搜索开关(推荐开启)
MUSIC_SEARCH_DEEP_ENABLED=true
# 每次搜索最多访问的结果页面数
MUSIC_SEARCH_DEEP_MAX_PAGES=6
# 并发抓取页面数
MUSIC_SEARCH_DEEP_CONCURRENCY=4Notes
- It is recommended to use Chinese singer name + album name or song name for search, which gives the best results
- Deep search () takes 2-3 seconds more than shallow search, but the results are much more accurate
--engine deep - Python cloudscraper will be automatically installed to on first use (Python 3 required)
.venv - Deep search requires web-search skill to be enabled, first search may need to wait for browser startup
- Cloud drive sharing links may expire at any time, it is recommended to use them as soon as possible
Disclaimer
This tool is for personal learning and research use only. It does not host, distribute, or provide any copyrighted content, only aggregates publicly accessible links on search engines. Please comply with the laws and regulations of your region.