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