shawenguan vor 2 Wochen
Ursprung
Commit
fd3a4f1c1f
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
  1. 4 1
      Scripts/zhuanzhuan/zhuanzhuanSearch.js

+ 4 - 1
Scripts/zhuanzhuan/zhuanzhuanSearch.js

@@ -147,7 +147,10 @@ async function doSearch(keyword, pagenum = 1, pagesize = 20) {
     let bodyText = magicJS.objToQueryStr(postData, true);
     // magicJS.logger.info(`bodyText=${bodyText}`);
     bodyText = `b2cInfoCardAB=B&changeIntention=0&filterModuleServerParamsInput=%7B%22searchScene%22%3A1%2C%22scene%22%3A1%2C%22filterModuleParam%22%3A%7B%22version%22%3A%221.7.0%22%2C%22appType%22%3A%222%22%7D%2C%22keyword%22%3A%22iphone%2015%20pro%22%7D&keyword=iphone%2015%20pro&pageIdParams=%7B%22refpagequery%22%3A%22from%3D1%22%2C%22refpagetype%22%3A%22V1008%22%2C%22refsubpageid%22%3A%22%22%7D&pagenum=1&pagesize=20&pushcode=1&recModelAB=1&requestmark=1736142162130&searcfilterhmove2zzsearch=1&searchAccurateFilterAB=2&searchPageSource=1&searchRecommendRankAB=A&searchStandardPropertiesAB=B&search_9_0_0=B&searchfrom=1&searchsuggestcate=1&serviceId=&sessionStr=%7B%22abtest%22%3A%22feedwords.base_feedwords_0407_base%3Aflow_management_362.cgroup_flow_management_362%3Aflow_management_405.agroup_flow_management_405%3Aflow_management_407.agroup_flow_management_407%3Asegment.base_segment_0412_base%3Asortstrategy.base_sortstrategy_0407_base%3Atermrecalloff.termrecalloff0102%22%2C%22session%22%3A%2270c64fd1ab35b08360a02901c03abb4758a15705%22%7D&usePgParam=1&v7abtest=1&verticalAbTest=`;
-    bodyText.replace('pagenum=1&pagesize=20', `pagenum=${pagenum}&pagesize=${pagesize}`);
+
+    bodyText = `b2cInfoCardAB=B&changeIntention=0&filterModuleServerParamsInput=%7B%22searchScene%22%3A1%2C%22scene%22%3A1%2C%22filterModuleParam%22%3A%7B%22version%22%3A%221.7.0%22%2C%22appType%22%3A%222%22%7D%2C%22keyword%22%3A%22iphone15%22%7D&keyword=iphone15&pageIdParams=%7B%22refpagequery%22%3A%22from%3D14%22%2C%22refpagetype%22%3A%22V1008%22%2C%22refsubpageid%22%3A%22%22%7D&pagenum=1&pagesize=20&pushcode=1071&recModelAB=1&requestmark=1736155352263&searcfilterhmove2zzsearch=1&searchAccurateFilterAB=2&searchRecommendRankAB=A&searchStandardPropertiesAB=B&search_9_0_0=B&searchfrom=1071&searchsuggestcate=1&serviceId=&sessionStr=%7B%22abtest%22%3A%22feedwords.base_feedwords_0407_base%3Aflow_management_362.cgroup_flow_management_362%3Aflow_management_405.agroup_flow_management_405%3Aflow_management_407.agroup_flow_management_407%3Asegment.base_segment_0412_base%3Asortstrategy.base_sortstrategy_0407_base%3Atermrecalloff.termrecalloff0102%22%2C%22session%22%3A%2270c64fd1ab35b08360a02901c03abb4758a15705%22%7D&usePgParam=1&v7abtest=1&verticalAbTest=`
+    bodyText = bodyText.replace('requestmark=1736155352263', `requestmark=${Date.now()}`);
+    bodyText = bodyText.replace('pagenum=1&pagesize=20', `pagenum=${pagenum}&pagesize=${pagesize}`);
     let options = {
         url: url,
         headers: headers,