readcomiconline.li issue
Closed this issue · 1 comments
Describe the bug
Runtime error : Slice bounds out of range [ : -1]
This error happens for certain comic series that uses this blogspot link format of RCOn_w
To Reproduce
-url=https://readcomiconline.li/Comic/The-Amazing-Spider-Man-2018/Issue-1?id=136988#1
Expected behavior
Script functioning properly.
Screenshots
Caption : Runtime error : Slice bounds out of range [ : -1]
Caption : Suspected due to "RCOn_w" variance in URL parameter
Caption : Appears on pages that has this edit
Caption : This issue can download as intended
Caption : The usual URL that works for this domain
Caption : deobfuscateUrl()
Desktop (please complete the following information):
- OS : Windows 11
- Version : 22H2
- Type : CLI
Additional context
Also, I would like to understand in detail about the deobfuscateUrl() function. I hope that you will be willing to impart some knowledge to a beginner like me.
Hi @Frostbrewn thanks for the report!
This error happens for certain comic series that uses this blogspot link format of RCOn_w
the fix should be pretty easy, we should get the url by replacing _x236
and _x945
Also, I would like to understand in detail about the deobfuscateUrl() function. I hope that you will be willing to impart some knowledge to a beginner like me.
it's just a string manipulation, I took that from readcomiconline