dsh-movie-workbench 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,8 +12,14 @@ DSH **Movies workbench** : Search for movies and TV series from **TMDB**, **IMDb
12
12
  - **Film & TV search** — results grouped by channel, with posters, years, ratings and source links.
13
13
  - **Trending** — each channel's popular movies and TV series on the home page; the row length follows the panel width so every channel fills exactly two rows, and it re-requests on resize.
14
14
  - **Channel browse** — open any channel for its own page with category tabs (TMDB: This week /
15
- Movies / TV; IMDb: Featured / Movies / TV; DouBan: Popular / Movies / TV) and infinite scroll for
16
- the next pages.
15
+ Movies / TV; IMDb: Featured / Movies / TV; DouBan: Popular / Movies / TV / Movie charts /
16
+ TV charts) and infinite scroll for the next pages.
17
+ - **DouBan charts (榜单)** — DouBan's channel page has two separate chart tabs, 电影榜单 and
18
+ 剧集榜单, with collapsible sections. Movie lists group 官方榜单, 年度榜单 (2025–2021,
19
+ high-score and recent-hit variants), 高分经典 and 近期热门 for 27 genres, and 冷门佳作 for
20
+ each genre; TV lists group 官方榜单, 年度榜单 and 高分经典 / 近期热门 for the same genres.
21
+ Generated charts use their first title's poster as the card cover. Open a chart to see the
22
+ ranked titles with the same paged infinite scroll.
17
23
  - **BT resources** — search BT resources, sortable by size, seeders or downloads; copy the magnet
18
24
  link or open the source page.
19
25
 
@@ -56,6 +62,8 @@ The Host side (`index.js` + `lib/`) exposes a single prefix route, `/movie-workb
56
62
  | `GET /search?q=&source=&lang=` | dispatch to the selected channels and return normalized results |
57
63
  | `GET /trending?source=&lang=&limit=` | recommendation rows, or a longer list for one channel |
58
64
  | `GET /browse?source=&category=&page=&cursor=&lang=` | one page (20 items) of a channel browse category; returns `hasMore` and, for IMDb, an opaque `next` cursor for infinite scroll |
65
+ | `GET /charts?source=douban&kind=movie\|tv` | one chart catalog: `movie` (default) has 3 official charts with live metadata, 10 annual charts (高分/热门 for 2025–2021), 27 hidden-gem charts (one per genre) and 54 genre charts (94 total); `tv` has 3 official, 10 annual and 54 genre charts (67 total, no hidden gems) |
66
+ | `GET /chart?source=douban&id=&start=&count=` | one page of a chart's ranked titles; `id` is an official id, `year:<yyyy>:<S or U>`, `hidden:<genre>`, `genre:<genre>:<S or U>`, or the TV forms `tv-year:<yyyy>:<S or U>` / `tv-genre:<genre>:<S or U>` (S = high-score, U = recent hits) |
59
67
  | `GET /detail?source=douban&id=` | synopsis and metadata for a DouBan title |
60
68
  | `GET /torrents?q=&alt=&source=&limit=` | BT resource search |
61
69
  | `GET /image?url=` | proxy posters from allowlisted image hosts |
package/README.zh.md CHANGED
@@ -12,7 +12,11 @@ DSH **影视工作台**:在一个页面里检索 **TMDB**、**IMDb** 和 **豆
12
12
  - **影视搜索** — 结果按渠道分组,含海报、年份、评分与来源链接。
13
13
  - **热门推荐** — 首页展示各渠道热门推荐影视;每行数量随面板宽度自适应,正好铺满两行,窗口尺寸变化时自动重新请求。
14
14
  - **渠道浏览** — 点进渠道进入独立页面,按分类标签切换(TMDB:本周趋势 / 电影 / 剧集;
15
- IMDb:精选作品 / 电影 / 剧集;豆瓣:热门推荐 / 电影 / 剧集),下滑自动加载下一页。
15
+ IMDb:精选作品 / 电影 / 剧集;豆瓣:热门推荐 / 电影 / 剧集 / 电影榜单 / 剧集榜单),下滑自动加载下一页。
16
+ - **豆瓣榜单** — 豆瓣渠道页有「电影榜单」和「剧集榜单」两个标签,分组均可折叠。电影榜单包含
17
+ 官方榜单、年度榜单(2025–2021,含高分/热门两档)、高分经典(27 个类型)、近期热门(27 个类型)和
18
+ 冷门佳作(27 个类型);剧集榜单包含官方榜单、年度榜单和高分经典 / 近期热门。
19
+ 无封面的榜单自动取第一名作品的封面,点开榜单按排名展示影片,同样支持下滑加载更多。
16
20
  - **BT 资源** — 查找 BT 资源,可按大小、做种、下载排序;可复制磁力链接或打开来源页。
17
21
 
18
22
  ## 安装
@@ -52,6 +56,8 @@ Host 端(`index.js` + `lib/`)只有一个前缀路由 `/movie-workbench/api`
52
56
  | `GET /search?q=&source=&lang=` | 分发到所选渠道并返回归一化结果 |
53
57
  | `GET /trending?source=&lang=&limit=` | 推荐行,或单个渠道的更长列表 |
54
58
  | `GET /browse?source=&category=&page=&cursor=&lang=` | 渠道浏览分类的一页(20 条),返回 `hasMore` 与 IMDb 的不透明 `next` 游标用于无限加载 |
59
+ | `GET /charts?source=douban&kind=movie\|tv` | 单个榜单目录:`movie`(默认)含 3 个官方榜单(实时元数据)+ 10 个年度榜单(2025–2021 的高分/热门)+ 27 个类型冷门佳作 + 54 个分类题材榜单(共 94 个);`tv` 含 3 个官方 + 10 个年度 + 54 个分类题材榜单(共 67 个,无冷门佳作) |
60
+ | `GET /chart?source=douban&id=&start=&count=` | 某个榜单的一页按排名条目;`id` 为官方榜单 id、`year:<年份>:<S 或 U>`、`hidden:<类型>`、`genre:<类型>:<S 或 U>`,以及剧集形式 `tv-year:<年份>:<S 或 U>` / `tv-genre:<类型>:<S 或 U>`(S 高分经典,U 近期热门) |
55
61
  | `GET /detail?source=douban&id=` | 豆瓣条目的简介与元数据 |
56
62
  | `GET /torrents?q=&alt=&source=&limit=` | BT 资源搜索 |
57
63
  | `GET /image?url=` | 代理白名单图床的海报 |