mirror of
https://github.com/Giu-zhao/ios_rule_script
synced 2024-11-29 03:48:27 +08:00
32 lines
1.8 KiB
Plaintext
32 lines
1.8 KiB
Plaintext
#!name=爱奇艺每日签到
|
|
#!desc=最后更新时间 2021-12-16 17:34:29
|
|
#!author=NobyDa
|
|
#!repo=https://github.com/NobyDa/Script/tree/master/iQIYI-DailyBonus
|
|
#!rewrite=0
|
|
#!script=1
|
|
#!force_http_engine_hosts=0
|
|
#!mitm=1
|
|
|
|
[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
|
|
|
|
[Script]
|
|
爱奇艺_获取Cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/script/3d0d9ad1242119a64a06d278129a7dc8.js,pattern=^https?:\/\/iface(\d)?\.iqiyi\.com\/
|
|
爱奇艺_每日自动签到 = type=cron,cronexp=20 0 * * *,timeout=60,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/script/3d0d9ad1242119a64a06d278129a7dc8.js
|
|
|
|
[MITM]
|
|
hostname = %APPEND% ifac*.iqiyi.com |