CTFileHelper
国内某网盘的一些上传、获取下载链接的非官方API
Install / Use
/learn @JxiaoC/CTFileHelperREADME
#CtFile
非官方API,慎用。
程序内置了打码平台(dama2.com),每次使用之前需要初始化城通网盘的账号数据和打码平台的账号数据。
登录方法(Login)中已经做了缓存,如果之前已经登录过,且登录未失效,将会直接返回之前的登录状态,否则将会进行自动登录;登录的验证码交由打码平台完成。
new DaMa.DaMaTuInit(username, password);
new Login(username, password);
登录成功后,程序将会把cookie写入
PublicConfig.Cookie中,并且往本地的Cache文件夹写入缓存文件
###创建文件夹
在使用之前,需要先初始化数据
string Data = Folder.Create("FolderName", "描述");
###通过文件夹名称获取文件夹ID
在使用之前,需要先初始化数据
int ID = Folder.GetFolderID("2017-04-06");
###上传文件到文件夹
在使用之前,需要先初始化数据
new UpFile().Up("d:\\temp.jpg", "文件夹名称");
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
