DIYgod/RSSHub · error · ConfigNotFoundError
pianyuan is disabled due to the lack of <a href="https://doc
Error message
pianyuan is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>
What it means
Error "pianyuan is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>" thrown in DIYgod/RSSHub.
Source
Thrown at lib/routes/pianyuan/utils.ts:53
enclosure_url: magnet,
enclosure_type: 'application/x-bittorrent',
enclosure_length: length,
};
});
return single;
})
);
return items;
};
async function getCookie(cache) {
const security_session_verify = await cache.get(security_key);
const PHPSESSID = await cache.get(PHPSESSID_key);
let py_loginauth = await cache.get(loginauth_key);
if (!py_loginauth) {
if (!config.pianyuan || !config.pianyuan.cookie) {
throw new ConfigNotFoundError('pianyuan is disabled due to the lack of <a href="https://docs.rsshub.app/deploy/config#route-specific-configurations">relevant config</a>');
}
py_loginauth = config.pianyuan.cookie;
}
return `${py_loginauth};${security_session_verify};${PHPSESSID};`;
}
async function request(link, cache) {
const cookie = await getCookie(cache);
const response = await got({
method: 'get',
url: link,
headers: {
Cookie: cookie,
},
});
// set cookie
const set_cookie = response.headers['set-cookie'];
if (set_cookie) {View on GitHub (pinned to bed535e087)
Solutions
- Set the required pianyuan cookie/config as described in the route-specific configuration documentation.
When it happens
Trigger: The route is invoked without the required pianyuan configuration (cookie) being set.
Common situations: See trigger scenarios.
AI-assisted analysis of DIYgod/RSSHub@bed535e087 (2026-08-12).
Data as JSON: /api/errors/b57737f81582a855.
Report an issue: GitHub.