{"record":{"id":"613ab4f34850ac83","repo":"DIYgod/RSSHub","slug":"no-pages-found-in-the-current-people-s-daily-editi","errorCode":null,"errorMessage":"No pages found in the current People’s Daily edition","messagePattern":"No pages found in the current People’s Daily edition","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"lib/routes/people/paper.ts","lineNumber":52,"sourceCode":"    const html = await ofetch<string>(indexUrl);\n    const $ = load(html);\n    const pages = $('#list li a[href]')\n        .toArray()\n        .map((element) => {\n            const href = $(element).attr('href') ?? '';\n            const id = href.match(/node_(\\d+)\\.html/)?.[1];\n            return id\n                ? {\n                      id,\n                      title: normalizeText($(element).text()),\n                      url: new URL(href, indexUrl).href,\n                  }\n                : undefined;\n        })\n        .filter((page): page is PaperPage => Boolean(page));\n\n    if (pages.length === 0) {\n        throw new Error('No pages found in the current People’s Daily edition');\n    }\n    return pages;\n};\n\nconst getArticles = (page: PaperPage, pubDate: Date): Promise<PaperArticle[]> =>\n    cache.tryGet(page.url, async () => {\n        const html = await ofetch<string>(page.url);\n        const $ = load(html);\n        return $('.news-list a[href]')\n            .toArray()\n            .map((element) => ({\n                title: normalizeText($(element).text()),\n                link: new URL($(element).attr('href') ?? '', page.url).href,\n                category: [page.title],\n                pubDate,\n            }));\n    });\n","sourceCodeStart":34,"sourceCodeEnd":70,"githubUrl":"https://github.com/DIYgod/RSSHub/blob/bed535e0879dc71c5aff6f1e7bd1ac21ede40115/lib/routes/people/paper.ts#L34-L70","documentation":"Error \"No pages found in the current People’s Daily edition\" thrown in DIYgod/RSSHub.","triggerScenarios":"No page links matching node_<id>.html were found in the current People’s Daily edition index page.","commonSituations":"See trigger scenarios.","solutions":["Retry later; the edition index page may have failed to load.","If persistent, the page structure changed; open an issue."],"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"}