{"record":{"id":"e96bad16a93029c6","repo":"fish2018/pansou","slug":"listitemsdata","errorCode":null,"errorMessage":"未找到 listItemsData","messagePattern":"未找到 listItemsData","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"plugin/zlxapp/zlxapp.go","lineNumber":178,"sourceCode":"\t\t\tcontinue\n\t\t}\n\t\tif resp.StatusCode == http.StatusOK {\n\t\t\treturn resp, nil\n\t\t}\n\n\t\tlastErr = fmt.Errorf(\"HTTP %d\", resp.StatusCode)\n\t\tresp.Body.Close()\n\t}\n\tif lastErr == nil {\n\t\tlastErr = fmt.Errorf(\"请求失败\")\n\t}\n\treturn nil, lastErr\n}\n\nfunc parseListItems(body []byte) ([]searchItem, error) {\n\tmarkerIndex := bytes.Index(body, listItemsMarker)\n\tif markerIndex < 0 {\n\t\treturn nil, fmt.Errorf(\"未找到 listItemsData\")\n\t}\n\n\tarrayStart := markerIndex + len(listItemsMarker)\n\tfor arrayStart < len(body) && body[arrayStart] != '[' {\n\t\tarrayStart++\n\t}\n\tif arrayStart >= len(body) {\n\t\treturn nil, fmt.Errorf(\"listItemsData 缺少数组\")\n\t}\n\n\tarrayEnd, err := findJSONArrayEnd(body, arrayStart)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tvar items []searchItem\n\tif err := jsonutil.Unmarshal(body[arrayStart:arrayEnd+1], &items); err != nil {\n\t\treturn nil, err","sourceCodeStart":160,"sourceCodeEnd":196,"githubUrl":"https://github.com/fish2018/pansou/blob/beaa56133755a548ebc51b090b3816e2ae044aa6/plugin/zlxapp/zlxapp.go#L160-L196","documentation":"Content guard in zlxapp parseListItems: the response body does not contain the listItemsMarker string at all. The page served is not the expected app page — a block/challenge page, a redirect body, or a redesign removed the embedded data. Input at fault: the raw fetched bytes.","triggerScenarios":"Thrown at plugin/zlxapp/zlxapp.go:178 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Log the body prefix to see what was actually served","Update listItemsMarker if the page's embedded variable was renamed","Retry once in case of transient interstitials"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"beaa56133755a548ebc51b090b3816e2ae044aa6","analyzedAt":"2026-09-07T00:31:18.025Z","contentChangedAt":"2026-09-07T00:31:18.025Z","schemaVersion":2},"datasetVersion":"2026-09-15T23:17:13.987Z"}