From 9429eaa0a3aed53f08af96fd67f28299fb692ebc Mon Sep 17 00:00:00 2001 From: Ryu JuHeon Date: Thu, 12 Aug 2021 21:39:10 +0900 Subject: [PATCH] [hitomi]: fix image URLs (#1765) --- gallery_dl/extractor/hitomi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery_dl/extractor/hitomi.py b/gallery_dl/extractor/hitomi.py index 2ea5dfa6..7c338a88 100644 --- a/gallery_dl/extractor/hitomi.py +++ b/gallery_dl/extractor/hitomi.py @@ -140,7 +140,7 @@ class HitomiGalleryExtractor(GalleryExtractor): # see https://ltn.hitomi.la/common.js inum = int(ihash[-3:-1], 16) - offset = 2 if inum < 0x40 else 1 if inum < 0x80 else 0 + offset = 2 if inum < 0x44 else 1 if inum < 0x88 else 0 url = "https://{}b.hitomi.la/images/{}/{}/{}.{}".format( chr(97 + offset),