ccloli / E-Hentai-Downloader

Download E-Hentai archive as zip file
GNU General Public License v3.0
1.82k stars 137 forks source link

Issue with downloading pages #194

Open Dramorian opened 2 years ago

Dramorian commented 2 years ago

Though I set desired range, it ignores the feature and tries to download from the start

ccloli commented 2 years ago

Hi, sorry for the late reply.

Tried it just now and it works fine for me, it only downloads the specific pages.

If you mean it starts with loading all the gallery pages, the script needs to get all pages' url before start downloading, to map each page number to the target url. At this step, it's not downloading, and it won't cost your image limits.

If it's not, maybe it's too late to ask, but do you remember what ranges did you set and which gallery were you downloading?

Dramorian commented 2 years ago

Hi, sorry for the late reply.

Tried it just now and it works fine for me, it only downloads the specific pages.

If you mean it starts with loading all the gallery pages, the script needs to get all pages' url before start downloading, to map each page number to the target url. At this step, it's not downloading, and it won't cost your image limits.

If it's not, maybe it's too late to ask, but do you remember what ranges did you set and which gallery were you downloading?

So, I tried again downloading from this gallery. My input is "2" and it downloads only 1 image, which is 2nd image in order in the gallery.

ccloli commented 2 years ago

Tested it just now, and it works as intended. As you set Pages Range to 2, that means it'll only download page 2 only.

Maybe you're not familiar this feature, you cam move your mouse on the input box, it'll show the format that the script accepts:

Download ranges of pages, split each range with comma (,) Example: -10: Download from page 1 to 10 12: Download page 12 14-20: Download from page 14 to 20 27: Download page 27 30-40/2: Download each 2 pages in 30-40 (30, 32, 34, 36, 38, 40) 50-60/3: Download each 3 pages in 50-60 (50, 53, 56, 59) 70-: Download from page 70 to the last page

As I'm not sure your input 2 means, so I list some examples to see if that helps you:

Dramorian commented 2 years ago
  • To only download page 2, you can set 2

I'm not dumb or anything, but it's not working for me as I said previously. It's downloading the 2nd picture from the first page in order.

ccloli commented 2 years ago

Do you mean the page of gallery pages' thumbnail? If so, depending on your setting, normal thumbnail is 40 images per page by default, so you need to set pages range as 41-80; and large thumbnail is 20 images by default, so it should be 21-40.

ccloli commented 2 years ago

@AbilityDamage checked that gallery just now, it seems that pages starting from 383, they're the same content of previous pages (page 383 = page 1, page 384 = page 2, ...)

image image