[百度贴吧] 修复新版贴吧无法获取Cookie的问题 close #660

This commit is contained in:
blackmatrix7
2022-08-24 20:31:24 +08:00
parent f0babd07e8
commit ef60cf2ca4
6 changed files with 40 additions and 22 deletions

View File

@ -0,0 +1,16 @@
#!name= 百度贴吧
#!desc= 百度贴吧每日签到
#!openUrl=https://github.com/blackmatrix7/ios_rule_script/tree/master/script/tieba
#!author= blackmatrix7
#!homepage= https://github.com/blackmatrix7/ios_rule_script
#!icon= https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/tieba/tieba.png
[URL Rewrite]
http-request ^https?:\/\/(c\.tieba\.baidu\.com|180\.97\.\d+\.\d+)\/c\/s\/login script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/tieba/tieba_checkin.js,tag=贴吧_获取Cookie1
http-request ^https?:\/\/c\.tieba\.baidu\.com\/c\/s\/channelIconConfig script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/tieba/tieba_checkin.js,tag=贴吧_新版Cookie2
http-request ^https?:\/\/tiebac\.baidu\.com\/c\/u\/follow\/getFoldedMessageUserInfo script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/tieba/tieba_checkin.js,tag=贴吧_新版Cookie3
cron "30 9 * * *" script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/tieba/tieba_checkin.js,timeout=60,tag=贴吧_每日签到
[MITM]
hostname = c.tieba.baidu.com, tiebac.baidu.com