Skip to content

Commit 6780877

Browse files
committed
更新 geekhub
1 parent ee8c8f0 commit 6780877

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

rewrite/cookie.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
hostname= *.youzan.com, cxdng.cpic.com.cn, *.youth.cn, ios.baertt.com, api.m.jd.com, api.inews.qq.com, *.video.qq.com, *.iqiyi.com, sf-integral-sign-in.weixinjia.net, mcs-mimp-web.sf-express.com, *.bilibili.com, huiyuan.163.com, as.xiaojukeji.com, superapp.kiwa-tech.com, activity-1.m.duiba.com.cn, geekhub.com, mall.oclean.com, h5.youzan.com, wapside.189.cn, app*.jegotrip.com.cn, task.jegotrip.com.cn, club.yili.com, account.huami.com, mqqapi.reader.qq.com
1+
hostname= *.youzan.com, cxdng.cpic.com.cn, *.youth.cn, ios.baertt.com, api.m.jd.com, api.inews.qq.com, *.video.qq.com, *.iqiyi.com, sf-integral-sign-in.weixinjia.net, mcs-mimp-web.sf-express.com, *.bilibili.com, huiyuan.163.com, as.xiaojukeji.com, superapp.kiwa-tech.com, activity-1.m.duiba.com.cn, geekhub.com, www.geekhub.com, mall.oclean.com, h5.youzan.com, wapside.189.cn, app*.jegotrip.com.cn, task.jegotrip.com.cn, club.yili.com, account.huami.com, mqqapi.reader.qq.com
22

33
# 太好购
44
^https://cxdng\.cpic\.com\.cn/taieshop/api/CustomerFansInfo/GetFansInfo url script-request-header https://raw.githubusercontent.com/id77/QuantumultX/master/task/thg.cookie.js
55
# 网易游戏会员
66
^https:\/\/huiyuan\.163\.com\/jf\-mall\-api\/api\/sign_up\/(lucky|normal) url script-request-header https://raw.githubusercontent.com/id77/QuantumultX/master/task/163GameVip.cookie.js
77
# geekhub
8-
^https:\/\/geekhub\.com\/checkins\/start url script-request-header https://raw.githubusercontent.com/id77/QuantumultX/master/task/geekhub.cookie.js
8+
^https:\/\/(www\.)?geekhub\.com\/checkins\/start url script-request-header https://raw.githubusercontent.com/id77/QuantumultX/master/task/geekhub.cookie.js
99
# 伊利乳品
1010
^https:\/\/club\.yili\.com\/MALLIFChe\/MCSWSIAPI\.asmx\/Call url script-request-body https://raw.githubusercontent.com/id77/QuantumultX/master/task/yiLi.cookie.js
1111

task/geekhub.cookie.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

task/geekhub.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ const regGbit2 = /<div class="flex-1 text-center">\s+<div>(\d*)<\/div>\s+<div>Gb
6161
function sign(token) {
6262
return new Promise((resolve) => {
6363
const opts = JSON.parse(session);
64-
opts.url = 'https://geekhub.com/checkins/start';
64+
opts.url = 'https://www.geekhub.com/checkins/start';
6565
opts.body = '_method=post&authenticity_token=' + encodeURIComponent(token);
6666
opts.headers = {
67-
Origin: 'https://geekhub.com',
68-
Referer: 'https://geekhub.com/checkins',
67+
Origin: 'https://www.geekhub.com',
68+
Referer: 'https://www.geekhub.com/checkins',
6969
};
7070

7171
// 签到动作
@@ -79,7 +79,7 @@ function getResult() {
7979
return new Promise((resolve) => {
8080
const opts = JSON.parse(session);
8181
// 获取结果
82-
opts.url = 'https://geekhub.com/checkins';
82+
opts.url = 'https://www.geekhub.com/checkins';
8383
$.get(opts, (err, resp, data) => {
8484
try {
8585
$.resData = data;

0 commit comments

Comments
 (0)