ios_rule_script/external/Loon/iQIYI/iQIYI.plugin

31 lines
1.8 KiB
Plaintext
Raw Normal View History

2021-04-09 19:34:05 +08:00
# NAME: 爱奇艺每日签到
# AUTHOR: NobyDa
# REPO: https://github.com/NobyDa/Script/tree/master/iQIYI-DailyBonus
2021-12-16 02:10:43 +08:00
# UPDATED: 2021-12-16 17:34:29
2021-04-09 19:34:05 +08:00
# REWRITE: 0
# SCRIPT: 1
# MITM: 1
2021-10-13 02:09:19 +08:00
[Rule]
DOMAIN,console.log("\n爱奇艺-与本机储存cookie相同,跳过写入⚠️")
DOMAIN,console.log("\n爱奇艺-请求不含cookie,跳过写入‼️")
DOMAIN,console.log(`\n更新爱奇艺cookie成功!🎉\n检测到频繁通知,已转为输出日志`)
DOMAIN,console.log(`爱奇艺-${$nobyda.data}${details}`),None
DOMAIN,console.log(`爱奇艺-${$nobyda.data}${error}`),None
DOMAIN,console.log(`爱奇艺-抽奖失败:${msg||`未知错误`}⚠️(${$nobyda.times})${msg?details:`response:\n${data}`}`),None
DOMAIN,console.log(`爱奇艺-抽奖失败:\n${data}(${$nobyda.times})`),None
DOMAIN,console.log(`爱奇艺-抽奖失败:接口请求出错‼️${error}(${$nobyda.times})`),None
DOMAIN,console.log(`爱奇艺-抽奖明细:${obj.awardname.replace(/《.+》/,"未中奖")}🎉(${$NOBYDA.TIMES})${DETAILS}`)
DOMAIN,console.log(`爱奇艺-查询失败${error||':无到期数据⚠️'}${details}`),None
DOMAIN,console.log(`爱奇艺-查询成功:${$nobyda.expire}${details}`),None
DOMAIN,node.request(options,(ERROR
DOMAIN,node.request.post(options,(ERROR
DOMAIN,options.headers['x-surge-skip-scripting']=false,None
DOMAIN,returnconsole.log('\n签到用时:'+end+'秒'),None
2021-04-09 19:34:05 +08:00
[Script]
http-request ^https?:\/\/iface(\d)?\.iqiyi\.com\/ script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/script/3d0d9ad1242119a64a06d278129a7dc8.js,tag=爱奇艺_获取Cookie
cron "20 0 * * *" script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/script/3d0d9ad1242119a64a06d278129a7dc8.js,timeout=60,tag=爱奇艺_每日自动签到
[MITM]
hostname = ifac*.iqiyi.com