Closed jillybeans closed 10 months ago
I don't know what the old version's like but I'm assuming they changed the code a little, in readerarea they have the cover page and only the cover page under <p>[image]</p>
, and the rest is outside of it.
In MangaShiro.lua, find function GetPageNumber()
and go down to the AsuraScans section.
Inside you'll find local v for v in x.XPath('//*[@id="readerarea"]/p/img').Get() do
Replace that line with local v for v in x.XPath('//*[@id="readerarea"]/p/img|//*[@id="readerarea"]/img').Get() do
If you're worried about making permanent changes, you can comment the line out by putting --
at the start.
It seems to get all the images, including the cover but excluding the ad at the bottom. If you don't want the cover then just change the string to //*[@id="readerarea"]/img
thank you appreciate you always giving fixes for asura scans :D
They've been simple fixes so far, I don't even know lua and I only know the basics of xpath. I'd look into pushing module updates if I knew I was doing it correctly.
title broken again from lua update after this fix, fixed it,
Prerequisites
System information
windows 10 21h1 x64
Describe the bug
https://asuratoon.com/ on fmd is only grabbing and showing the first page on every webtoon and chapter and ignoring the rest
https://asuratoon.com/manga/2122552102-the-priest-of-corruption/
Log
No response