-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bookwalker.jp cover rule broken for new books #1255
Comments
Thanks for reporting. I've yet to find the original version either, but I've added support for redirecting to the 700x780 image. |
MOST OF BOOKS ARE FOR MEMBERS ONLY
if above element exists UNIQUE SELECTOR 'a.js-preview' Open -> https://bookwalker.jp/dea4737bc4-830b-40ad-946a-8efa4292fd15/ Redirects ->https://bookwalker.jp/dea4737bc4-830b-40ad-946a-8efa4292fd15/?sample=1> https://viewer-trial.bookwalker.jp/03/19/viewer.html?cid=a4737bc4-830b-40ad-946a-8efa4292fd1&cty=1 SO REGEX - GET document.location.href -> Replace '^https://bookwalker.jp/de' with 'https://viewer-trial.bookwalker.jp/03/19/viewer.html?cid=' + a4737bc4-830b-40ad-946a-8efa4292fd1 + '&cty=1' IMP NOTE -> IT OPENS WHOLE MANGA BOOK SEVERAL PAGES ON TRIAL EPUB VIEWER. AS YOU CLICK EACH IMAGE/PAGE NEXT IMAGE/PAGE IS LOADED.Original Image (Higher Quality Url dynamically generated via js prone to expiration) ABOVE IMAGE WHEN OPENED IN SITE'S MANGA TRIAL VIEWER AND ON CURRENT VIEWPORT
ABOVE WILL DOWNLOAD CANVAS AS PNG WITH CANVAS DIMENSIONS FROM MAIN PRODUCT LINK PARSE HTML
ABOVE COVER+BOOK PAGES NOT AVAILABLE FOR ALL PRODUCTS Difference : Replace '/0.jpeg/[^?]*/' with 0.jpeg BUT ORIGINAL URL HAS DIFFERENT SIGNATURE TOKEN/COOKIE |
BookWalker has updated their book ids for recent releases to some sort hash / hexadecimal string, breaking the existing rule for anything using this new form of id. For now, older books are still using the old id, and maxurl still works as intended for them.
The logic seems like it should be similar based on the thumbnail url used on their mobile site (see below), but replacing
thumbnailImage
withcoverImage
as you would with the old form of id returns 403. I did some very brief testing/guessing and didn't find a solution. Opening this issue in case anyone else knows or wants to try.Old id examples (working)
Product page: https://bookwalker.jp/dea4737bc4-830b-40ad-946a-8efa4292fd15/
Standard image: https://rimg.bookwalker.jp/9576337/BM2j7K0aiKyzud2kfkni6g__.jpg
Alt image: https://c.bookwalker.jp/9576337/t_700x780.jpg
Mobile site image: https://c.bookwalker.jp/thumbnailImage_7336758.jpg
Original image: https://c.bookwalker.jp/coverImage_7336758.jpg
New id examples (broken)
Product page: https://bookwalker.jp/def765c1ca-7292-4c69-888d-4731b5bc7bc1/
Standard Image: https://rimg.bookwalker.jp/7f15ef05f2e9179c2b450fa9f583cc3/BM2j7K0aiKyzud2kfkni6g__.jpg
Alt image: https://c.bookwalker.jp/7f15ef05f2e9179c2b450fa9f583cc3/t_700x780.jpg
Mobile site image: https://c.bookwalker.jp/thumbnailImage_3cc385f9af054b2c9719e2f50fe51f7.jpg
Original image: ???
The text was updated successfully, but these errors were encountered: