You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shelltool/pixiv/config.json.example

30 lines
1.4 KiB

{
"basePath": "本地缓存路径,包括接口数据,图片等",
"telegramToken": "telegram 机器人申请的API Token",
"chatId": "推送目标聊天的唯一标识符或目标频道的用户名",
"anonfilesToken": "https://anonfiles.com/ 申请的API Token",
"mode": "Pixiv排行榜类型,有效值:daily/weekly/monthly/rookie/daily_r18/weekly_r18/male_r18/female_r18/r18g,分别是日榜/周榜/月榜/新人榜/日榜r18/周榜r18/受男性欢迎r18/受女性欢迎r18/r18g",
"content": "Pixiv排行榜类型,有效值:illust/ugoira/manga/,分别是插画/动图/漫画",
"rule":{"匹配需要转义的内容":"转换后的值","&amp;":"&","&lt;":"<"},
"sleep":{
"text":10,
"image":60
},
"aliyun_oss":{
"Host":"Endpoint(地域节点)",
"accelerateHost":"传输加速Endpoint(地域节点)",
"bucketname":"bucket名称",
"AccessKeyId":"OpenAPI AccessKey ID",
"AccessKeySecret":"OpenAPI AccessKey Secret",
"db":"文件上传成功记录数据库",
"imageParam":"阿里云图片处理参数 比如:?x-oss-process=image/format,webp/resize,w_2560,h_2560",
"deleteApi":"删除老图片的接口地址"
},
"convertio":{
"apikey":"https://developers.convertio.co/zh/ 申请的API密钥",
},
"Cronitor":{
"API_KEY":"https://cronitor.io/ 申请的Key",
"JOB_NAME":"定时任务名称"
}
}