xuzhengyi1995 / Manga_downloader

A Manga download framework using selenium.
646 stars 58 forks source link

This website has not been added Error - Bookwalker #35

Closed newdoria88 closed 3 years ago

newdoria88 commented 3 years ago

Hello, I'm trying to download from bookwalker but I keep getting this error: image

I have tried to logout and then login again but it still happens.

The error.png just shows the login page: error

newdoria88 commented 3 years ago

It got fixed after using CCleaner and logging in once again. This can be closed. But before that, can I ask where can I see the original image size to be used in the settings page? I tried searching for it in the console but couldn't find any hint of the original image size.

xuzhengyi1995 commented 3 years ago

It got fixed after using CCleaner and logging in once again. This can be closed. But before that, can I ask where can I see the original image size to be used in the settings page? I tried searching for it in the console but couldn't find any hint of the original image size.

Hello,

This maybe a problem with your cookie that can not login to BW, with a clean ang relogging, I think you got a worked cookie now.

For the original image size, here is a method:

  1. Open the manga, press F12 to open the DevTools
  2. Go to Network, and refresh the page
  3. After the manga loaded, you can see some requests with a ⚙ in front of it
  4. Right click one of the request immediately, Copy -> Copy link address
  5. Past the address to a new tab
  6. Now you can see an image, that is the original image

image image

  1. But be careful of the barcoding, you can see it here #12 (Very sorry I am yet to fix...)

Thank you!

newdoria88 commented 3 years ago

Thank you, everything works fine now. For the barcode thing, after some testing it seems that setting 'cut_image': (0, 0, 0, 4), takes care of it for all images sizes. For some really low res mangas cutting just 2 pixels is enough but 4 pixels seems to work even for the biggest images, so maybe setting it like that by default would be enough of a temp fix.

xuzhengyi1995 commented 3 years ago

Thank you, everything works fine now. For the barcode thing, after some testing it seems that setting 'cut_image': (0, 0, 0, 4), takes care of it for all images sizes. For some really low res mangas cutting just 2 pixels is enough but 4 pixels seems to work even for the biggest images, so maybe setting it like that by default would be enough of a temp fix.

Thank you, I will try to add this cut 4 pixels function only for BW in the future.

Thank you again.

sunnyouthere commented 3 years ago

Hello, I have the same problem except I'm trying with cmoa error

newdoria88 commented 3 years ago

Hello, I have the same problem except I'm trying with cmoa error

In my case it was because I used the wrong id token and for some reason the error kept happening until I cleaned temp files with CCleaner and then used the right token.

sunnyouthere commented 3 years ago

how do you know you used the wrong token and get the right one? sorry, i'm really new to python and coding in general. i'll try ccleaner though, thank you!

newdoria88 commented 3 years ago

how do you know you used the wrong token and get the right one? sorry, i'm really new to python and coding in general. i'll try ccleaner though, thank you!

I wasn't adding a part of the token (a __ at the end), once I added that it worked. But that's for bookwalker, not sure if it's the same for cmoa.

xuzhengyi1995 commented 3 years ago

Please check the new method with customized chromium browser, this new method is much more easier to use and could get the original image without bar code, will close this issue, thanks!