Skip to content

Commit

Permalink
Create cookie_get.sgmodule
Browse files Browse the repository at this point in the history
  • Loading branch information
erdongchanyo authored May 18, 2022
1 parent 49318c6 commit fb492a2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Surge/Module/cookie_get.sgmodule
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!name=EDC-COOKIEGET
#!desc=京东|爱奇艺|Luka

[MITM]
hostname = %APPEND% ms.jr.jd.com, me-api.jd.com, api.m.jd.com, passport.iqiyi.com, luka-graphql.ling.cn

[Script]
# 获取京东Cookie(by NobyDA)
# Safari浏览器打开登录 https://home.m.jd.com/myJd/newhome.action 点击"我的"页面,通知获得cookie成功
# 或使用Safari浏览器打开登录 https://bean.m.jd.com/bean/signIndex.action ,点击签到并且出现签到日历后, 通知获得cookie成功.
# 使用此脚本获取"账号1"Cookie成功后, 请勿点击退出账号(可能会导致Cookie失效), 需清除浏览器资料或更换浏览器登录"账号2"获取即可.
# BoxJs订阅地址: https://raw.githubusercontent.com/NobyDa/Script/master/NobyDa_BoxJs.json
获取京东Cookie = type=http-request,requires-body=1,pattern=^https:\/\/(api\.m|me-api|ms\.jr)\.jd\.com\/(client\.action\?functionId=signBean|user_new\/info\/GetJDUserInfoUnion\?|gw\/generic\/hy\/h5\/m\/appSign\?),script-path=https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js

# 获取Cookie(by NobyDA)
# Safari浏览器打开 https://m.iqiyi.com/user.html 使用密码登录, 如通知成功获取cookie则可使用该脚本.
# 获取Cookie后, 请将Cookie脚本禁用并移除主机名,以免产生不必要的MITM.
爱奇艺获取Cookie = type=http-request,pattern=^https:\/\/passport\.iqiyi\.com\/apis\/user\/info\.action,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/iQIYI-DailyBonus/iQIYI.js

# 获取Luka APP Cookie
Luka获取cookie = type=http-request,pattern=^https?:\/\/luka\-graphql\.ling\.cn\/graphql\/mobile\?operation=UserInfoWithPendingRobotQuery,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka_signin.js

0 comments on commit fb492a2

Please sign in to comment.