修复Surge下万达电影无法正常获取Cookie的问题

This commit is contained in:
blackmatrix7 2021-06-16 16:04:40 +08:00
parent 138753b18d
commit 894ca804b5

View File

@ -1,11 +1,11 @@
#!name=万达电影
#!desc=万达电影每日自动签到
#!system=ios
[Script]
万达电影_每日签到 = type=cron,cronexp=35 0 * * *,timeout=10,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/wanda/wanda_checkin.js
万达电影_获取Cookie = type=http-request,pattern=^https?:\/\/user\-api\-prd\-mx\.wandafilm\.com\/user\/query_user_level\.api,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/wanda/wanda_checkin.js
万达电影_获取Cookie = type=http-request,pattern=^https?:\/\/user\-api\-prd\-mx\.wandafilm\.com\/user\/query_user_level_tip\.api,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/wanda/wanda_checkin.js
万达电影_获取ActivityCode = type=http-request,pattern=^https?:\/\/cms\-activity\-api\-prd\-mx\.wandafilm\.com\/activity\/activity_count\.api\?activityCode=(\d*),script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/wanda/wanda_checkin.js
[MITM]
hostname = %APPEND% user-api-prd-mx.wandafilm.com,cms-activity-api-prd-mx.wandafilm.com
# user-api-prd-mx.wandafilm.com 获取不到Cookie临时改为*api-prd-mx.wandafilm.comcms-activity-api-prd-mx.wandafilm.com随之移除
hostname = %APPEND% *api-prd-mx.wandafilm.com