shawenguan 2 vuotta sitten
vanhempi
commit
0384653d5a
2 muutettua tiedostoa jossa 12 lisäystä ja 12 poistoa
  1. 4 4
      Scripts/thwj/thwj.rewrite.quanx.conf
  2. 8 8
      Scripts/thwj/thwjHelper.js

+ 4 - 4
Scripts/thwj/thwj.rewrite.quanx.conf

@@ -1,6 +1,6 @@
 hostname = thwj.bdyapp.cn
 
-^https:\/\/thwj.42faka.cn\/\/index\/user\/get_tabbar_paradrop_data url script-request-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js
-^https:\/\/thwj.42faka.cn\/\/index\/user\/get_tabbar_paradrop_data url script-response-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js
-^https:\/\/thwj.42faka.cn\/\/index url script-response-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js
-^https:\/\/thwj.42faka.cn url script-response-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js
+^https:\/\/www.thwjvr.com\/\/index\/user\/get_tabbar_paradrop_data url script-request-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js
+^https:\/\/www.thwjvr.com\/\/index\/user\/get_tabbar_paradrop_data url script-response-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js
+^https:\/\/www.thwjvr.com\/\/index url script-response-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js
+^https:\/\/www.thwjvr.com url script-response-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js

+ 8 - 8
Scripts/thwj/thwjHelper.js

@@ -14,11 +14,11 @@ const CommonHeaders = {
     'Accept-Encoding': `gzip, deflate, br`,
     'Content-Type': `application/json`,
     'Sec-Fetch-Site': `same-origin`,
-    'Origin': `https://thwj.42faka.cn`,
+    'Origin': `https://www.thwjvr.com`,
     'User-Agent': CommonUserAgent,
     'Sec-Fetch-Mode': `cors`,
     'Cookie': CommonCookie,
-    'Host': `thwj.42faka.cn`,
+    'Host': `www.thwjvr.com`,
     'Accept-Language': `zh-CN,zh-Hans;q=0.9`,
     'Accept': `*/*`
 };
@@ -28,7 +28,7 @@ const CommonGetHeaders = {
     'Sec-Fetch-Mode': `navigate`,
     'Connection': `keep-alive`,
     'Accept-Encoding': `gzip, deflate, br`,
-    'Host': `thwj.42faka.cn`,
+    'Host': `www.thwjvr.com`,
     'User-Agent': CommonUserAgent,
     'Sec-Fetch-Site': `none`,
     'Accept-Language': `zh-CN,zh-Hans;q=0.9`,
@@ -281,7 +281,7 @@ function loadIndex() {
             headers['Sec-Fetch-Site'] = 'none';
             headers['Sec-Fetch-Dest'] = 'documment';
             let url = {
-                url: `https://thwj.42faka.cn/`,
+                url: `https://www.thwjvr.com/`,
                 headers: headers,
                 body: '',
             };
@@ -339,7 +339,7 @@ async function getVerifyCodeImg() {
             headers['Sec-Fetch-Dest'] = 'image';
             let now = new Date().getTime();
             let url = {
-                url: `https://thwj.42faka.cn//index/index/get_verify_code?${now}`,
+                url: `https://www.thwjvr.com//index/index/get_verify_code?${now}`,
                 headers: headers,
                 body: '',
             };
@@ -609,7 +609,7 @@ async function doLogin(phone, password, verifyCode) {
             }
             let payLoad = JSON.stringify(reqData);
             let url = {
-                url: `https://thwj.42faka.cn//index/index/login?lang=zh-cn`,
+                url: `https://www.thwjvr.com//index/index/login?lang=zh-cn`,
                 headers: headers,
                 body: payLoad,
             };
@@ -678,7 +678,7 @@ async function doExplore(phone, password, token) {
             }
             let payLoad = JSON.stringify(reqData);
             let url = {
-                url: `https://thwj.42faka.cn//index/paradrop_order/start_paradrop?lang=zh-cn`,
+                url: `https://www.thwjvr.com//index/paradrop_order/start_paradrop?lang=zh-cn`,
                 headers: headers,
                 body: payLoad,
             };
@@ -739,7 +739,7 @@ async function getParadropData(phone, password, token) {
             }
             let payLoad = JSON.stringify(reqData);
             let url = {
-                url: `https://thwj.42faka.cn//index/user/get_tabbar_paradrop_data?lang=zh-cn`,
+                url: `https://www.thwjvr.com//index/user/get_tabbar_paradrop_data?lang=zh-cn`,
                 headers: headers,
                 body: payLoad,
             };