films-search
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFilms Search Skill
Films Search Skill
搜索影视资源(电影、电视剧、动漫),通过实时爬虫深度抓取资源页面,从各网盘平台获取公开分享的资源链接。
Search for film and TV resources (movies, TV series, anime). Deeply crawl resource pages via real-time web scrapers to obtain publicly shared resource links from various cloud drive platforms.
前置条件
Prerequisites
- web-search skill(必需,用于搜索发现资源页面)
- web-search skill (required, used to search and discover resource pages)
命令
Commands
搜索资源
Search for Resources
bash
bash "$SKILLS_ROOT/films-search/scripts/film-search.sh" search "关键词" [选项]选项:
| 参数 | 说明 | 默认值 |
|---|---|---|
| 筛选网盘类型: | |
| 筛选画质: | |
| 每个平台最大结果数 | |
| 搜索引擎: | |
引擎说明:
- (默认,推荐)— web-search 搜索发现资源页面 + JavaScript 深度抓取提取网盘链接和提取码,结果最准确
deep - — 仅从 web-search 搜索引擎摘要中提取链接(速度快,但准确率较低,不做深度抓取)
web
示例:
bash
undefinedbash
bash "$SKILLS_ROOT/films-search/scripts/film-search.sh" search "keyword" [options]Options:
| Parameter | Description | Default Value |
|---|---|---|
| Filter by cloud drive type: | |
| Filter by video quality: | |
| Maximum number of results per platform | |
| Search engine: | |
Engine Explanation:
- (default, recommended) — Use web-search skill to find resource pages + JavaScript deep crawling to extract cloud drive links and access codes, with the most accurate results
deep - — Only extract links from web-search engine summaries (fast, but lower accuracy, no deep crawling)
web
Examples:
bash
undefined搜索所有平台的资源(默认使用深度搜索)
Search resources on all platforms (uses deep search by default)
bash "$SKILLS_ROOT/films-search/scripts/film-search.sh" search "流浪地球2"
bash "$SKILLS_ROOT/films-search/scripts/film-search.sh" search "The Wandering Earth 2"
只搜夸克网盘 4K 资源
Only search for 4K resources on Quark cloud drive
bash "$SKILLS_ROOT/films-search/scripts/film-search.sh" search "流浪地球2" --pan quark --quality 4k
bash "$SKILLS_ROOT/films-search/scripts/film-search.sh" search "The Wandering Earth 2" --pan quark --quality 4k
限制结果数量
Limit the number of results
bash "$SKILLS_ROOT/films-search/scripts/film-search.sh" search "流浪地球2" --limit 10
bash "$SKILLS_ROOT/films-search/scripts/film-search.sh" search "The Wandering Earth 2" --limit 10
使用浅层搜索(不深度抓取页面)
Use shallow search (no deep page crawling)
bash "$SKILLS_ROOT/films-search/scripts/film-search.sh" search "流浪地球2" --engine web
Windows 系统使用 PowerShell 脚本:
```powershell
powershell -File "$SKILLS_ROOT/films-search/scripts/film-search.ps1" search "流浪地球2" --pan quarkbash "$SKILLS_ROOT/films-search/scripts/film-search.sh" search "The Wandering Earth 2" --engine web
For Windows systems, use the PowerShell script:
```powershell
powershell -File "$SKILLS_ROOT/films-search/scripts/film-search.ps1" search "The Wandering Earth 2" --pan quark热门推荐
Hot Recommendations
bash
bash "$SKILLS_ROOT/films-search/scripts/film-search.sh" hot "2025年热门电影"本质上是以推荐类关键词调用搜索,返回相关网盘资源。
bash
bash "$SKILLS_ROOT/films-search/scripts/film-search.sh" hot "2025 Popular Movies"Essentially, it calls the search with recommendation-related keywords and returns relevant cloud drive resources.
解析跳转链接
Resolve Redirect Links
bash
bash "$SKILLS_ROOT/films-search/scripts/film-search.sh" resolve "https://example.com/goto/xxx"当搜索结果中的链接需要二次跳转时,用此命令解析出真实网盘地址。
bash
bash "$SKILLS_ROOT/films-search/scripts/film-search.sh" resolve "https://example.com/goto/xxx"When links in search results require a second redirect, use this command to resolve the real cloud drive address.
Agent 使用流程
Agent Usage Flow
- 用户说「帮我找 XXX 电影」→ 执行
search "XXX" - 解析返回的 JSON,提取网盘链接
- 按网盘类型和画质分组呈现给用户
- 如果结果中有提取码 (),一并展示给用户
extractCode - 如果结果中有 但没有直接
pageUrl,用url命令获取真实地址resolve
示例对话:
用户:帮我找一下流浪地球2的夸克网盘资源,要4K的Agent:
- 执行
search "流浪地球2" --pan quark --quality 4k- 从 JSON 结果中取出匹配项
- 返回:标题 + 画质 + 夸克网盘链接 + 提取码(如有)
- User says: "Help me find the movie XXX" → Execute
search "XXX" - Parse the returned JSON and extract cloud drive links
- Present to the user grouped by cloud drive type and video quality
- If there is an access code () in the results, display it together
extractCode - If there is a but no direct
pageUrl, use theurlcommand to get the real addressresolve
Example Dialogue:
User: Help me find 4K Quark cloud drive resources for The Wandering Earth 2Agent:
- Execute
search "The Wandering Earth 2" --pan quark --quality 4k- Extract matching items from the JSON results
- Return: Title + Video Quality + Quark Cloud Drive Link + Access Code (if any)
输出格式
Output Format
所有命令输出 JSON,结构如下:
json
{
"success": true,
"data": {
"query": "流浪地球2",
"total": 5,
"results": [
{
"title": "资源标题",
"pan": "quark",
"url": "https://pan.quark.cn/s/xxx",
"quality": "4K",
"extractCode": "ab12",
"source": "deep-search",
"pageUrl": "https://example.com/resource/123"
}
]
}
}字段说明:
- : 网盘类型 —
pan(夸克),quark(百度),baidu(阿里),aliyun(UC),uc(磁力)magnet - : 检测到的画质 —
quality,4K,1080P, 空字符串表示未检测到720P - : 结果来源 —
source(深度抓取),deep-search(搜索摘要)web-search - : 网盘分享链接(可直接访问)
url - : 提取码/密码(如果检测到)
extractCode - : 结果来源页面 URL
pageUrl
All commands output JSON with the following structure:
json
{
"success": true,
"data": {
"query": "The Wandering Earth 2",
"total": 5,
"results": [
{
"title": "Resource Title",
"pan": "quark",
"url": "https://pan.quark.cn/s/xxx",
"quality": "4K",
"extractCode": "ab12",
"source": "deep-search",
"pageUrl": "https://example.com/resource/123"
}
]
}
}Field Explanations:
- : Cloud drive type —
pan(Quark),quark(Baidu),baidu(Alibaba),aliyun(UC),uc(Magnet Link)magnet - : Detected video quality —
quality,4K,1080P, empty string if not detected720P - : Result source —
source(Deep Crawling),deep-search(Search Summary)web-search - : Directly accessible cloud drive sharing link
url - : Access code/password (if detected)
extractCode - : URL of the source page for the result
pageUrl
配置
Configuration
编辑 可自定义偏好:
films-search/.envbash
undefinedEdit to customize preferences:
films-search/.envbash
undefined偏好的网盘类型(逗号分隔,排在前面的优先展示)
Preferred cloud drive types (comma-separated, earlier ones are prioritized)
FILM_SEARCH_PREFERRED_PAN=quark,aliyun,baidu,uc
FILM_SEARCH_PREFERRED_PAN=quark,aliyun,baidu,uc
深度搜索开关(推荐开启)
Deep search toggle (recommended to enable)
FILM_SEARCH_DEEP_ENABLED=true
FILM_SEARCH_DEEP_ENABLED=true
每次搜索最多访问的结果页面数
Maximum number of result pages accessed per search
FILM_SEARCH_DEEP_MAX_PAGES=6
FILM_SEARCH_DEEP_MAX_PAGES=6
并发抓取页面数
Number of concurrent page crawls
FILM_SEARCH_DEEP_CONCURRENCY=4
undefinedFILM_SEARCH_DEEP_CONCURRENCY=4
undefined注意事项
Notes
- 搜索建议使用中文片名,效果最好
- 深度搜索()比浅层搜索多 2-3 秒,但结果准确得多
--engine deep - 深度搜索需要 web-search skill 启用,首次搜索可能需要等待浏览器启动
- 网盘分享链接可能随时失效,建议尽快使用
- It is recommended to use Chinese film titles for the best search results
- Deep search () takes 2-3 seconds longer than shallow search, but results are much more accurate
--engine deep - Deep search requires the web-search skill to be enabled; the first search may require waiting for the browser to start
- Cloud drive sharing links may become invalid at any time, so it is recommended to use them as soon as possible
免责声明
Disclaimer
本工具仅供个人学习和研究使用。不托管、不分发、不提供任何版权内容,仅聚合搜索引擎上公开可访问的链接。请遵守所在地区的法律法规。
This tool is for personal study and research only. It does not host, distribute, or provide any copyrighted content, and only aggregates publicly accessible links from search engines. Please comply with the laws and regulations of your region.