jable

TotalClaw 作者 totalclaw

根据最近时间窗口(默认 48 小时)内的点赞获取 Jable 最新更新视频并进行排名。当要求提取 Jable 最近更新、按喜欢/受欢迎程度排序并以格式化列表返回前 N 个链接时使用。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~kangbuilds-invisiblechris-jable
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~kangbuilds-invisiblechris-jable/file -o kangbuilds-invisiblechris-jable.md
# Jable

Use this skill to produce "recent + top liked" lists from Jable quickly and repeatably.

## Install

From ClawHub:

```bash
clawhub install jable
```

(If you keep it in GitHub instead, clone/copy this folder into your OpenClaw workspace as `skills/jable/`.)

## Quick Start

Run:

```bash
python3 skills/jable/scripts/top_liked_recent.py --hours 48 --top 3 --pages 10
```

Parameters:
- `--hours`: recent window in hours (default `48`)
- `--top`: number of items to output (default `3`)
- `--pages`: number of `latest-updates` pages to scan for like counts (default `10`)

## Workflow

1. Read publish times from `https://jable.tv/rss/`.
2. Read like counts from `https://jable.tv/latest-updates/` pages.
3. Keep only videos inside the requested recent window.
4. Sort by likes descending.
5. Return top N with title, likes, and URL.

## Usage (in chat)

Ask for a list like:
- “Pull Jable latest updates and show top 5 by likes from last 24h”

## Output Format

Use this style when replying to users:

```text
1️⃣ <title>
❤️ <likes>
🔗 <url>

2️⃣ <title>
❤️ <likes>
🔗 <url>
```

## Notes

- If a recent RSS item does not appear in scanned latest pages, it may miss like data and be skipped.
- Increase `--pages` when needed.

---

## 中文说明

# Jable

使用此技能可快速且可重复地从 Jable 生成"最近 + 最多点赞"列表。

## 安装

从 ClawHub 安装:

```bash
clawhub install jable
```

(如果你改为将其保存在 GitHub 中,请将此文件夹克隆/复制到你的 OpenClaw 工作区,路径为 `skills/jable/`。)

## 快速开始

运行:

```bash
python3 skills/jable/scripts/top_liked_recent.py --hours 48 --top 3 --pages 10
```

参数:
- `--hours`:最近时间窗口(小时)(默认 `48`)
- `--top`:要输出的条目数量(默认 `3`)
- `--pages`:为获取点赞数而扫描的 `latest-updates` 页数(默认 `10`)

## 工作流

1. 从 `https://jable.tv/rss/` 读取发布时间。
2. 从 `https://jable.tv/latest-updates/` 页面读取点赞数。
3. 仅保留请求的最近时间窗口内的视频。
4. 按点赞数降序排序。
5. 返回前 N 个,包含标题、点赞数和 URL。

## 用法(在聊天中)

像这样请求一个列表:
- "Pull Jable latest updates and show top 5 by likes from last 24h"

## 输出格式

回复用户时使用以下样式:

```text
1️⃣ <title>
❤️ <likes>
🔗 <url>

2️⃣ <title>
❤️ <likes>
🔗 <url>
```

## 注意事项

- 如果某个最近的 RSS 条目未出现在扫描的 latest 页面中,它可能缺少点赞数据而被跳过。
- 必要时增加 `--pages`。