返回顶部
d

dmm-ranking-liteDMM排行精简版

Fetch DMM/FANZA public rankings (daily/weekly/monthly) without API keys and output top 10 in numbered text format with Japanese title, Chinese translation, and cover image URL. Use when user asks for DMM/FANZA 日榜/周榜/月榜 scraping, top10 extraction, or no-key ranking collection.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
305
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

dmm-ranking-lite

DMM Ranking Lite

抓取 DMM/FANZA 公共排行榜并输出 Top10,默认中文说明 + 日文原片名。

使用场景

  • - 用户需要 DMM/FANZA 日榜、周榜、月榜
  • 用户明确要求 Top10(或可改为 TopN)
  • 用户要求无需 API Key 的公开页面抓取

输入参数

  • - term: daily | weekly | monthly
  • count: 默认 10
  • output_lang: zh-CN(保留日文原片名)

输出格式

必须使用编号块,不要表格:

text

  1. 1.
    • - 片名(日文):...
  • 中文:...
  • 封面:...
    1. 2.
      • - 片名(日文):...
  • 中文:...
  • 封面:...
  • 工作流程

    1. 1. 打开榜单页面:
    - https://video.dmm.co.jp/av/ranking/?term=
    1. 2. 如果出现年龄确认,点击 はい
    2. 使用 browser(action=act, request.kind=evaluate) 执行提取脚本
    3. 按 rank 升序取前 count 条
    4. 输出为编号列表,字段固定为:
    - 片名(日文) - 中文 - 封面
    1. 6. 结束后关闭标签页:browser(action=close)

    提取脚本

    javascript
    () => {
    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;
    }

    翻译规则

    • - 片名(日文) 必须保留原文,不可改写
    • 中文 采用简洁自然中文,避免机翻腔
    • 标题过长时可适度压缩,不改变核心含义
    • 明显敏感措辞可中性化,但不要错译

    错误处理

    • - 页面结构变更:先 snapshot 检查节点,再调整 selector
    • 未拿到 cover_url:输出 封面:无
    • 抓取不足 10 条:按实际条数输出,并说明“本次仅抓取到 N 条”
    • 无法通过年龄确认:重试一次后返回失败原因

    注意事项

    • - 仅抓取公开页面,不需要 DMM API 凭据
    • 默认 Top10,如需 TopN 请在结果截取阶段改为 rows.slice(0, N)
    • 若页面改版频繁,优先保持输出格式稳定,必要时更新提取脚本

    标签

    skill ai

    通过对话安装

    该技能支持在以下平台通过对话安装:

    OpenClaw WorkBuddy QClaw Kimi Claude

    方式一:安装 SkillHub 和技能

    帮我安装 SkillHub 和 dmm-ranking-lite-1776281514 技能

    方式二:设置 SkillHub 为优先技能安装源

    设置 SkillHub 为我的优先技能安装源,然后帮我安装 dmm-ranking-lite-1776281514 技能

    通过命令行安装

    skillhub install dmm-ranking-lite-1776281514

    下载

    ⬇ 下载 dmm-ranking-lite v0.1.0(免费)

    文件大小: 2.47 KB | 发布时间: 2026-4-16 17:42

    v0.1.0 最新 2026-4-16 17:42
    Initial release

    Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

    Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

    p2p_official_large
    返回顶部