← 返回 Skills 市场
DMM Ranking Lite
作者
leeeroyjoy-pixel
· GitHub ↗
· v0.1.0
328
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dmm-ranking-lite
功能描述
Fetch DMM/FANZA public rankings (daily/weekly/monthly) without API keys and output top 10 in numbered text format with Japanese title, Chinese translation, a...
使用说明 (SKILL.md)
DMM Ranking Lite
抓取 DMM/FANZA 公共排行榜并输出 Top10,默认中文说明 + 日文原片名。
When To Use
- 用户要 DMM/FANZA
日榜、周榜、月榜 - 用户明确要
Top10(或可改为 TopN) - 用户要求无 API Key 的公开页面抓取
Inputs
term:daily|weekly|monthlycount: 默认10output_lang:zh-CN(保留日文原片名)
Output Format
必须使用编号块,不要表格:
1.
- 片名(日文):...
- 中文:...
- 封面:...
2.
- 片名(日文):...
- 中文:...
- 封面:...
Workflow
- 打开榜单页面:
https://video.dmm.co.jp/av/ranking/?term=\x3Cterm>
- 如果出现年龄确认,点击
はい - 使用
browser(action="act", request.kind="evaluate")执行提取脚本 - 按 rank 升序取前
count条 - 输出为编号列表,字段固定为:
片名(日文)中文封面
- 结束后关闭标签页:
browser(action="close")
Extraction Snippet
() => {
const items = Array.from(document.querySelectorAll('main ul > li'));
const rows = [];
for (const li of items) {
const rankMatch = (li.textContent || '').match(/(\d+)位/);
if (!rankMatch) continue;
const rank = Number(rankMatch[1]);
const link =
li.querySelector('h2 a[href*="/av/content/?id="]') ||
li.querySelector('a[href*="/av/content/?id="]');
if (!link) continue;
const href = link.getAttribute('href') || '';
const idMatch = href.match(/[?&]id=([^&]+)/);
const title = (link.textContent || '').replace(/\s+/g, ' ').trim();
const cover = Array.from(li.querySelectorAll('img'))
.map((img) => img.getAttribute('src') || img.getAttribute('data-src') || img.currentSrc || '')
.find((src) => /pics_dig|digital\/video|awsimgsrc\.dmm\.co\.jp/.test(src));
rows.push({
rank,
id: idMatch ? idMatch[1] : null,
title,
content_url: new URL(href, location.origin).href,
cover_url: cover ? new URL(cover, location.origin).href : null,
});
}
rows.sort((a, b) => a.rank - b.rank);
return rows;
}
Translation Rules
片名(日文)必须保留原文,不可改写中文采用简洁自然中文,避免机翻腔- 标题过长时可适度压缩,不改变核心含义
- 明显敏感措辞可中性化,但不要错译
Error Handling
- 页面结构变更:先
snapshot检查节点,再调整 selector - 未拿到
cover_url:输出封面:无 - 抓取不足 10 条:按实际条数输出,并说明“本次仅抓取到 N 条”
- 无法通过年龄确认:重试一次后返回失败原因
Notes
- 仅抓取公开页面,不需要 DMM API 凭据
- 默认 Top10,如需 TopN 请在结果截取阶段改为
rows.slice(0, N) - 若页面改版频繁,优先保持输出格式稳定,必要时更新提取脚本
安全使用建议
This skill appears to do only on-page scraping of public DMM/FANZA ranking pages and outputs TopN entries; it does not request credentials or install code. Before installing, consider: (1) legal and Terms-of-Service implications of scraping DMM/FANZA in your jurisdiction; (2) whether your agent is permitted to open adult-content pages and perform clicks (age confirmation); (3) respectful scraping practices — add rate limiting and avoid excessive requests; (4) translation quality — the skill asks for natural Chinese output but automatic translation quality may vary. If you need stronger guarantees, ask the skill author for a privacy/TOS statement or to restrict requests/timeout behavior.
功能分析
Type: OpenClaw Skill
Name: dmm-ranking-lite
Version: 0.1.0
The `dmm-ranking-lite` skill is designed to scrape public DMM/FANZA rankings. The `SKILL.md` instructs the agent to navigate to a DMM URL and execute a JavaScript snippet within the browser's sandbox using `browser(action="act", request.kind="evaluate")`. The JavaScript code only reads DOM elements to extract ranking data and does not contain any logic for data exfiltration, malicious execution, persistence, or prompt injection attempts against the agent. All actions are aligned with the stated purpose of web scraping.
能力评估
Purpose & Capability
The name/description (fetch public DMM/FANZA rankings) match the SKILL.md: it opens public ranking pages, handles age confirmation, runs an in-page extraction script, and outputs TopN. No unrelated environment variables, binaries, or installs are requested.
Instruction Scope
SKILL.md gives concrete, bounded instructions: open specific ranking URL, click age confirmation if present, evaluate a provided JS snippet to extract fields, slice to TopN, and close the tab. It does not instruct reading local files, accessing other services, or exfiltrating data to external endpoints.
Install Mechanism
No install spec or code files are present; this is instruction-only, so nothing is downloaded or written to disk by the skill itself.
Credentials
No environment variables, credentials, or config paths are required. The skill works against public pages and explicitly states it needs no API keys.
Persistence & Privilege
The skill is not always-enabled and requests no persistent system privileges. It uses normal browser actions during invocation and does not modify other skills or system configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dmm-ranking-lite - 安装完成后,直接呼叫该 Skill 的名称或使用
/dmm-ranking-lite触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release
元数据
常见问题
DMM Ranking Lite 是什么?
Fetch DMM/FANZA public rankings (daily/weekly/monthly) without API keys and output top 10 in numbered text format with Japanese title, Chinese translation, a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 328 次。
如何安装 DMM Ranking Lite?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dmm-ranking-lite」即可一键安装,无需额外配置。
DMM Ranking Lite 是免费的吗?
是的,DMM Ranking Lite 完全免费(开源免费),可自由下载、安装和使用。
DMM Ranking Lite 支持哪些平台?
DMM Ranking Lite 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 DMM Ranking Lite?
由 leeeroyjoy-pixel(@leeeroyjoy-pixel)开发并维护,当前版本 v0.1.0。
推荐 Skills