Skip to content

NOROUTE / undocumented route jandan: section.js error #10901

@qjebbs

Description

@qjebbs

Routes

/jandan/ooxx

Full routes

/jandan/ooxx

Related documentation

...

What is expected?

no error

What is actually happening?

error msg:

Route requested: /ooxx
Error message: Cannot read properties of null (reading '1')

In lib/v2/jandan/section.js:

ctx.state.data = {
        title: `${$('title').text()} - 煎蛋`,
        link: currentUrl,
        item: items,
        description: response.data.match(/"description": "([\s\S]*)",/)[1], // error on no match
    };

Deployment information

RSSHub demo (https://rsshub.app)

Deployment information (for self-hosted)

No response

Additional info

...

This is not a duplicated issue

  • I have searched existing issues to ensure this bug has not already been reported

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions