Closed Vorror closed 6 years ago
Actually, I just got it working. Give me a day or two to clean up & test. Will open a PR
The new bato.to randomly generates image urls. If an image starts with "ad" adblockers may block it. A heads up for anyone who runs into the issue.
The Bato.to script needs to be updated for the new owner/site.
The site behaves like an SPA(Vuejs) which means the page's javascript needs to be run so it can replace the img's href to the correct value(which allows xpath and WCR to find the image), so simply returning the next/prev page's url won't work. Luckily all the image urls are stored in global JS variable.
I'm not quite sure how to handle a dynamic page since you can't send the image url directly in a next/prev.