{"record":{"id":"a58f6854ece86d2a","repo":"DIYgod/RSSHub","slug":"pianyuan-cookie","errorCode":null,"errorMessage":"pianyuan Cookie已失效","messagePattern":"pianyuan Cookie已失效","errorType":"exception","errorClass":"ConfigNotFoundError","httpStatus":null,"severity":"error","filePath":"lib/routes/pianyuan/utils.ts","lineNumber":83,"sourceCode":"        headers: {\n            Cookie: cookie,\n        },\n    });\n    // set cookie\n    const set_cookie = response.headers['set-cookie'];\n    if (set_cookie) {\n        for (const e of set_cookie) {\n            if (e.includes('security_session_verify')) {\n                cache.set(security_key, e.split(';', 1)[0]);\n            } else if (e.includes('PHPSESSID')) {\n                cache.set(PHPSESSID_key, e.split(';', 1)[0]);\n            } else if (e.includes('py_loginauth')) {\n                cache.set(loginauth_key, e.split(';', 1)[0]);\n            }\n        }\n    }\n    if (response.data.includes('会员登录后才能访问')) {\n        throw new ConfigNotFoundError('pianyuan Cookie已失效');\n    }\n    return response;\n}\n\nexport default { ProcessFeed, request };\n","sourceCodeStart":65,"sourceCodeEnd":89,"githubUrl":"https://github.com/DIYgod/RSSHub/blob/bed535e0879dc71c5aff6f1e7bd1ac21ede40115/lib/routes/pianyuan/utils.ts#L65-L89","documentation":"Error \"pianyuan Cookie已失效\" thrown in DIYgod/RSSHub.","triggerScenarios":"The configured pianyuan cookie has expired or been invalidated by the site.","commonSituations":"See trigger scenarios.","solutions":["Obtain a fresh pianyuan cookie and update the configuration, then retry."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bed535e0879dc71c5aff6f1e7bd1ac21ede40115","analyzedAt":"2026-08-12T19:29:35.364Z","schemaVersion":2},"datasetVersion":"2026-08-12T23:17:12.415Z"}