Skip to content

mangadex Invalid selection on urls with a trailing slash #65

@ghost

Description

This works: cum get https://mangadex.org/chapter/414899
This doesn't work:

cum get https://mangadex.org/chapter/414899/
==> Invalid selection "https://mangadex.org/chapter/414899/"

This is probably the responsible regex:

url_re = re.compile(
       r'(?:https?://mangadex\.(?:org|com))?/chapter/([0-9]+)'
       r'(?:/[^a-zA-Z0-9]|/?$)'
)

from: https://github.com/Hamuko/cum/blob/master/cum/scrapers/mangadex.py#L94

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions