Use Regex to always parse the URL correctly
Coko7 opened this issue · comments
Coko commented
Sometimes, TCB change the way their URL look by adding additional parts at the end.
Despite that, here is what the URL should always look like:
https://onepiecechapters.com/chapters/{Id}/{mangaName}-chapter-{chapNum}{suffix}
The {chapNum}
is the one thing we care about and it should always be an integer
.