xuzhengyi1995 / Manga_downloader

A Manga download framework using selenium.
616 stars 57 forks source link

Cover Not Downloading #70

Open perrinaz opened 2 years ago

perrinaz commented 2 years ago

Ok, I know this is a known issue. I want to make a suggestion for a temporary solution. Please program in a key stroke that downloads the current image, maybe as page 0. Then, before we start the page-turning, we can hit the hot key and get the cover to download.

xuzhengyi1995 commented 2 years ago

The problem is some book's cover page is not encrypted it just download and display, this maybe solved in the future.

RicHykkie commented 2 years ago

In the meanwhile, if you want to easily download the cover, logged in or not, somebody gave me this simple script for Chrome a while ago. You just need to create a bookmark and put the script as the URL. Then from any bookwalker title page, just click on the bookmark. It will put the address of the cover in your pastebin. Just paste in a new tab, and you have it.

javascript:!function(a){var b=document.createElement("textarea"),c=document.getSelection();b.textContent=a,document.body.appendChild(b),c.removeAllRanges(),b.select(),document.execCommand("copy"),c.removeAllRanges(),document.body.removeChild(b)}("https://c.bookwalker.jp/coverImage_" + (parseInt($('meta[property="og:image"]').attr('content').split("/")[3].split("").reverse().join(""))-1) + ".jpg");

I don't know any JS so no idea how this works, but maybe you can find it some use?

perrinaz commented 2 years ago

Well, that js works for now :) A little cumbersome having it to click, paste, rename, move... but at least I can get the covers in good size.

perrinaz commented 2 years ago

In the meanwhile, if you want to easily download the cover, logged in or not, somebody gave me this simple script for Chrome a while ago. You just need to create a bookmark and put the script as the URL. Then from any bookwalker title page, just click on the bookmark. It will put the address of the cover in your pastebin. Just paste in a new tab, and you have it.

javascript:!function(a){var b=document.createElement("textarea"),c=document.getSelection();b.textContent=a,document.body.appendChild(b),c.removeAllRanges(),b.select(),document.execCommand("copy"),c.removeAllRanges(),document.body.removeChild(b)}("https://c.bookwalker.jp/coverImage_" + (parseInt($('meta[property="og:image"]').attr('content').split("/")[3].split("").reverse().join(""))-1) + ".jpg");

I don't know any JS so no idea how this works, but maybe you can find it some use?

This work-around doesn't seem to be working any longer...

donghuiyong commented 2 years ago

The problem is some book's cover page is not encrypted it just download and display, this maybe solved in the future.

If I'm sure the cover page is excrypted, can I download it by using new method?