@wahaha216/koishi-plugin-jmcomic
Version:
下载JM本子,无需python。支持pdf、zip加密。
33 lines (32 loc) • 781 B
TypeScript
export declare class Photo {
static SCRAMBLE_268850: number;
static SCRAMBLE_421926: number;
/**
* JMComic ID
*/
private id;
private scramble_id;
/**
* 图片名称列表
* @type {string[]} 图片名称列表
* @description 例如 ["00001", "00002", ...]
*/
private photo_names;
private photo_ids;
private photo_urls;
constructor(html: string);
/**
* 获取图片分割数
* @returns {number} 图片分割数
* @description 根据 scramble_id 和 id 获取图片分割数
*/
getSplitNumbers(): number[];
/**
* 获取JM ID
* @returns {number} JM ID
*/
getId(): number;
getPhotoUrls(): string[];
getPhotoNames(): string[];
getPhotoIds(): string[];
}