← 返回 Skills 市场
anlinxi

Dygod Movies

作者 anlinxi · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
288
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install dygod-movies
功能描述
爬取电影天堂(dygod.net)最新电影和电视剧信息,支持查询最近更新、高分电影, 并可一键下载到群晖NAS。当用户询问最近更新的电影/电视剧、高分电影、或想下载影视资源时使用此技能。
使用说明 (SKILL.md)

电影天堂 (DYGod) 影视爬虫技能

爬取电影天堂最新电影和电视剧,支持查询和下载到群晖NAS。

功能

  1. 查询最新电影 - 获取电影天堂最新更新的电影列表
  2. 查询高分电影 - 筛选豆瓣/IMDb高分电影
  3. 查询电视剧 - 支持国产剧、日韩剧、欧美剧
  4. 搜索影视 - 按片名搜索电影和电视剧
  5. 下载到群晖 - 一键添加到群晖DownloadStation下载

影视资源分类

分类 URL 说明
最新电影 /html/gndy/dyzz/ 最新电影资源
国产剧 /html/tv/hytv/ 国产电视剧
日韩剧 /html/tv/rihantv/ 日韩电视剧
欧美剧 /html/tv/oumeitv/ 欧美电视剧

使用方法

1. 爬取/刷新电影数据

python scripts/dygod_crawler.py --pages 2 --no-cache

参数说明:

  • --pages N - 爬取N页(每页约25部电影)
  • --no-cache - 忽略缓存,重新爬取
  • 不带参数时使用缓存数据(缓存1小时)

2. 查询最近更新的电影

python scripts/dygod_crawler.py --recent 7

显示最近7天内更新的电影。

3. 查询高分电影

python scripts/dygod_crawler.py --high-score

筛选豆瓣≥7.5或IMDb≥7.0的高分电影。

4. 搜索电影

python scripts/dygod_crawler.py --search "肖申克"

按片名、译名、导演、主演搜索。

5. 搜索电视剧

from scripts.dygod_crawler import search_tv, get_tv_detail

# 搜索电视剧
results = search_tv("我喜欢的人变成猫")

# 获取详情和下载链接
if results:
    detail = get_tv_detail(results[0]["detail_url"])
    print(detail["download_links"])

输出JSON格式

脚本也支持作为模块导入,返回JSON数据:

from scripts.dygod_crawler import get_movies, get_high_score_movies, search_movies

# 获取电影列表
movies = get_movies(max_pages=2)

# 获取高分电影
high_score = get_high_score_movies(movies, min_douban=8.0)

# 搜索电影
results = search_movies(movies, "黑客帝国")

# 每部电影的字段
# {
#   "title": "原始标题",
#   "片名": "克莱默夫妇",
#   "译名": "Kramer vs. Kramer",
#   "年代": "1979",
#   "产地": "美国",
#   "类别": "剧情/家庭",
#   "豆瓣评分": 8.5,
#   "IMDb评分": 7.8,
#   "导演": "罗伯特·本顿",
#   "主演": "达斯汀·霍夫曼",
#   "文件大小": "3311 MB",
#   "download_links": ["magnet:...", "ftp://..."]
# }

群晖NAS下载

使用 synology-dsm 技能将电影下载到群晖。

登录群晖获取SID

curl.exe -s "http://192.168.123.223:5000/webapi/entry.cgi?api=SYNO.API.Auth&version=6&method=login&account=xiaoai&passwd=Xx654321&session=DownloadStation&format=sid"

返回:{"success":true,"data":{"sid":"YOUR_SID"}}

添加下载任务

注意:DownloadStation API路径是 /webapi/DownloadStation/task.cgi

# 下载电影 → 存放到 /video/电影
# destination 参数格式:共享文件夹名/子目录,如 "video/电影"
curl.exe -s -X POST -d "api=SYNO.DownloadStation.Task&version=1&method=create&uri=magnet:?xt=urn:btih:XXX&destination=video/电影&_sid=YOUR_SID" "http://192.168.123.223:5000/webapi/DownloadStation/task.cgi"

# 下载电视剧 → 存放到 /video/电视剧
curl.exe -s -X POST -d "api=SYNO.DownloadStation.Task&version=1&method=create&uri=magnet:?xt=urn:btih:XXX&destination=video/电视剧&_sid=YOUR_SID" "http://192.168.123.223:5000/webapi/DownloadStation/task.cgi"

使用Python脚本下载

from scripts.dygod_crawler import download_movie, syno_add_download

# 下载电影到指定目录
result = syno_add_download(
    uri='magnet:?xt=urn:btih:XXX',
    destination='video/电影'  # 下载到 /video/电影
)
print(result)  # {'success': True, 'task_id': 'xxx'}

# 或者直接传入电影信息下载
movie = {
    '片名': '黑暗之城',
    'download_links': ['magnet:?xt=urn:btih:XXX']
}
download_movie(movie, destination='video/电影')

查看下载任务

curl.exe -s "http://192.168.123.223:5000/webapi/DownloadStation/task.cgi?api=SYNO.DownloadStation.Task&version=1&method=list&additional=transfer&_sid=YOUR_SID"

删除下载任务

curl.exe -s "http://192.168.123.223:5000/webapi/DownloadStation/task.cgi?api=SYNO.DownloadStation.Task&version=1&method=delete&id=TASK_ID&force_complete=false&_sid=YOUR_SID"

交互流程示例

用户问:最近有什么好看的电影?

  1. 调用爬虫获取最新电影数据
  2. 筛选高分电影展示给用户
  3. 用户选择想看的电影
  4. 提取下载链接,添加到群晖下载

用户问:帮我下载《肖申克的救赎》

  1. 搜索电影
  2. 展示搜索结果让用户确认版本
  3. 获取下载链接
  4. 添加到群晖DownloadStation

用户问:帮我找电视剧《我喜欢的人变成猫是怎样的体验》

  1. 搜索电视剧分类(国产剧/日韩剧/欧美剧)
  2. 找到匹配结果
  3. 获取详情页下载链接
  4. 用户确认后添加到群晖下载

数据缓存

  • 电影缓存:data/movies_cache.json
  • 电视剧缓存:data/tv_cache.json
  • 缓存有效期:1小时
  • 手动刷新:使用 --no-cache 参数

注意事项

  1. 爬取频率:脚本已加入请求延时,请勿频繁爬取
  2. 下载链接:包含 magnet 和 ftp 两种格式,优先使用 magnet
  3. 版权声明:仅供学习研究使用,请勿用于商业用途
安全使用建议
This skill appears to do what it says: crawl dygod.net and help add magnet/ftp downloads to a Synology DownloadStation. Before installing or running it, consider: 1) Legal/privacy: the cached data and outputs contain magnet and FTP links to potentially copyrighted material — using them may be illegal in your jurisdiction. 2) Credentials: the skill needs Synology host/SID/credentials at runtime to add downloads; never hardcode credentials. Prefer supplying NAS credentials through a secure credential mechanism (or use a trusted synology-dsm integration) and review how the credentials are stored or transmitted. 3) Review service/main.py: the manifest contains a service file whose full contents were truncated in the data provided — inspect that file locally to confirm it does not expose a web endpoint that leaks data or accepts unauthenticated commands. 4) Network exposure: the crawler will make outbound HTTP(S) requests to dygod.net and the Synology API (to your NAS); ensure you are comfortable with that network activity. If you are not willing to supply NAS credentials or to run code that interacts with P2P/FTP resources, do not enable the download features.
功能分析
Type: OpenClaw Skill Name: dygod-movies Version: 1.0.0 The skill bundle contains hardcoded plaintext credentials (username 'xiaoai' and password 'Xx654321') and a specific local network IP address (192.168.123.223) for a Synology NAS within both SKILL.md and scripts/dygod_crawler.py. While the code appears to be a functional tool for crawling movie data and automating downloads via the Synology DownloadStation API, the inclusion of sensitive authentication data and hardcoded infrastructure details is a significant security vulnerability. No evidence of intentional malice or unauthorized data exfiltration was found, suggesting these may be remnants of a specific user's configuration or a poorly secured template.
能力评估
Purpose & Capability
Name/description (crawl dygod.net, list/search movies/TV, add tasks to Synology DownloadStation) align with included files: a crawler (scripts/dygod_crawler.py), a small service (service/main.py) and cached HTML/JSON with magnet/ftp links. There are no unrelated credentials or binaries requested.
Instruction Scope
SKILL.md only instructs running the provided Python crawler and shows how to add tasks to a Synology DownloadStation (via cURL examples or syno_add_download). It does not instruct reading unrelated host files or secrets. Note: SKILL.md includes an explicit cURL example showing a local NAS IP and an example password (Xx654321) — that is an example, but the skill requires the user (or another synology-dsm skill) to provide real NAS credentials at runtime to perform downloads.
Install Mechanism
Instruction-only install (no install spec). The package contains Python scripts and a requirements.txt; there is no remote download or installer that would write/execute arbitrary external code during install.
Credentials
No environment variables or credentials are declared/required by the package. However, the skill's main functionality (adding downloads to a Synology NAS) necessarily requires NAS host/SID/credentials at runtime — the SKILL.md suggests using an external synology-dsm skill or manually calling cURL. This is proportionate to the purpose but means you must provide sensitive credentials at use-time; review how those are supplied and stored. The cached data includes many magnet: and ftp:// links pointing to external hosts (e.g., a.gbl.114s.com), which is expected for this tool but worth noting.
Persistence & Privilege
always: false and model invocation is allowed (default). The skill does not request permanent system-wide presence or declare modifications to other skills. The bundle writes caches under its own data/ directory, which is normal.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dygod-movies
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dygod-movies 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - Scrape movies from dygod.net
元数据
Slug dygod-movies
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Dygod Movies 是什么?

爬取电影天堂(dygod.net)最新电影和电视剧信息,支持查询最近更新、高分电影, 并可一键下载到群晖NAS。当用户询问最近更新的电影/电视剧、高分电影、或想下载影视资源时使用此技能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 288 次。

如何安装 Dygod Movies?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dygod-movies」即可一键安装,无需额外配置。

Dygod Movies 是免费的吗?

是的,Dygod Movies 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Dygod Movies 支持哪些平台?

Dygod Movies 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dygod Movies?

由 anlinxi(@anlinxi)开发并维护,当前版本 v1.0.0。

💬 留言讨论