• 简体中文
  • 数据物件

    演员或分类超连结使用 Java 的 Json.link(name, target)、Python 的 self.link(name, target) 或 QuickJS 的 link(name, target)。target 包含目标分类及筛选,可用 id、name、type_flag、filter。

    // QuickJS:把演员变成可点击的筛选连结
    list.map((vod) => ({ ...vod, vod_actor: link(vod.vod_actor, { id: "movie", filter: { area: "tw" } }) }));

    Vod

    栏位说明
    vod_id传给 detailContent 的唯一值。
    vod_name显示名称。
    vod_pic / vod_remarks缩图与角标。
    type_name分类文字。
    vod_year / vod_area年份与地区。
    vod_director / vod_actor人员资讯。
    vod_content详细描述。
    vod_play_from / vod_play_url播放分组与集数,分隔方式见播放分组与集数。
    vod_tag / actionfolder 表示资料夹;非空 action 在点击时触发操作。type 3 传给爬虫 action();type 4 填回传 JSON 的接口网址。
    cate提供此物件时也视为资料夹,可含 land、circle、ratio。
    land / circle / ratio / style卡片外观覆盖。

    Class

    栏位说明
    type_id / id传给 categoryContent 的分类 ID。
    type_name / name分类显示名称。
    type_flag1 代表资料夹分类。
    land / circle / ratio该分类预设卡片样式。
    filters也可在分类物件内提供 Filter 阵列。

    Filter

    栏位说明
    key / name传入键与显示名称。
    init预设选项值。
    value选项阵列,例如 [{"n":"全部","v":""}];n 是显示名称,v 是传入值。

    Sub

    栏位说明
    url字幕档位置。
    name / lang显示名称与语言代码。
    format字幕 MIME type,可省略并由 App 推定。
    flag0 交由 App 依字幕数量与偏好语言选择;非零使用 Media3 选择旗标:1 预设、2 强制、4 自动选择,可位元组合。

    Danmaku

    栏位说明
    urlHTTP(S) 资料网址,或由 getDanmakuUrl(id) 产生的即时来源。
    name选填显示名称。

    SkipSegment

    栏位说明
    typeopening 为片头,middle 为片中,ending 为片尾。
    start开始跳过的时间(毫秒)。
    end要跳到的时间(毫秒);须晚于 start,仅片尾且 start > 0 时可省略。