Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bili-fav-collector

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bili-fav-collector - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

81

dist/index.d.ts

@@ -0,2 +1,81 @@

interface ContentDetail {
id: number;
type: number;
title: string;
cover: string;
intro: string;
page: number;
duration: number;
upper: {
mid: number;
name: string;
face: string;
};
attr: number;
cnt_info: {
collect: number;
play: number;
danmaku?: number;
};
link: string;
ctime: number;
pubtime: number;
fav_time: number;
bv_id: string;
bvid: string;
season: null;
}
interface Info {
id: number;
fid: number;
mid: number;
attr: number;
title: string;
cover: string;
upper: {
mid: number;
name: string;
face: string;
followed: boolean;
vip_type: number;
vip_statue: number;
};
cover_type: number;
cnt_info: {
collect: number;
play: number;
thumb_up: number;
share: number;
};
type: number;
intro: string;
ctime: number;
mtime: number;
state: number;
fav_state: number;
like_state: number;
media_count: number;
}
interface ResponseData {
code: number;
message: string;
data: {
info: Info;
medias: ContentDetail[];
has_more: boolean;
};
}
export { }
declare class BiliBiliFavoriteClient {
private readonly upMid;
private readonly cookie;
constructor(upMid: number, cookie: string);
getFolderDetail(folderId: number, pageSize: number): Promise<ResponseData>;
getAllFoldersContent(): Promise<{
info: Info;
medias: ContentDetail[];
has_more: boolean;
}[][]>;
}
export { BiliBiliFavoriteClient };

2

package.json
{
"name": "bili-fav-collector",
"type": "module",
"version": "0.0.0",
"version": "0.0.1",
"packageManager": "pnpm@8.11.0",

@@ -6,0 +6,0 @@ "description": "Bili Bili UP主收藏夹工具",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc