xuzhengyi1995 / Manga_downloader

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

Remove BookWalker Image barcoding #12

Closed newaccforhc closed 3 years ago

newaccforhc commented 4 years ago

I don't know if you know this or not but, If you use bookwalker's viewer (like you did here) to descramble images, then it also keeps the Barcode intact (Which can later be used to identify the account).. I suggest you to remove it... To remove it, you have to either descramble the images yourself rather than using the viewer or block the barcode image.. If you check the developer tools (chrome) while viewer is loading, you can find the barcode image (400x1 resolution) being loaded saperately.. Then the viewer descrambles the images, applies the barcode and then serves the images...

Note that the barcode isn't noticeable by naked eye... You have to do some image level adjustment in Photoshop to see it..

xuzhengyi1995 commented 4 years ago

Thank you so much, finally I know why the resolution is always wrong, I think this is the problem! I will work on it during the vacation! Thank you again!

newaccforhc commented 4 years ago

No prob..

artikandri commented 3 years ago

Hello,

I checked the pictures I downloaded using this script and found the watermark after some adjustment. It is located under the picture, inside the white bottom border. The size is really small and won't be visible to naked eye unless you did heavy levels adjustment to the picture by using Photoshop or similar picture editor. I checked the barcode content by using online barcode decoder, and it contains numbers in this format:

12345-12345678

I assumed that the first 5 digits are the book id, and the rest contains user id + the counter of how many times they logged in. This assumption is based after analyzing watermarks from my downloaded books (around 4 or so, all reference books), but I have no real basis on this assumption so please take it with a grain of salt.

My suggestion is to automatically crop the image border or added the option to do so by default. From what I'm seeing, you've already added the option to crop the image, so I'm going to try them and tell the result in this thread.

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!