6.7.0 - Alpha6 - 新增 Android 发行版本 scraper 脚本及信息打印脚本

This commit is contained in:
SuperMonster003
2025-10-09 17:13:48 +08:00
parent 0ff16b8ec0
commit b83ce13d0e
9 changed files with 702 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
type Cheerio<T> = import('cheerio').Cheerio<T>;
type DomElement = import('domhandler').Element;
type Page = import('puppeteer').Page;
type Frame = import('puppeteer').Frame;
type ElementHandle<T extends Node> = import('puppeteer').ElementHandle<T>;
@@ -13,6 +16,18 @@ type TableDataStructureItemName = string;
type TableDataStructureItem = RegExp | ((s: string) => boolean | string);
type TableDataStructureItemForPageEvaluate = string | RegExp | ((s: string) => boolean | string);
interface AndroidReleaseWiki {
RELEASE_NAME: string;
INTERNAL_CODENAME: string;
PLATFORM_VERSION: string;
API_LEVEL: number;
RELEASE_DATE: string;
}
interface AndroidReleaseCsv extends AndroidReleaseWiki {
VERSION_CODE: string;
}
interface AndroidStudioRelease {
content: {
item: AndroidStudioReleaseItem[];