From d4614e5ba45300b8fb79f2524db9fd6c6f6691d0 Mon Sep 17 00:00:00 2001 From: Ryu juheon Date: Fri, 29 Oct 2021 02:29:48 +0900 Subject: [PATCH] [hitomi] fix image URLs (#1982) --- 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 4eca300a..feaa1f59 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 = 1 if inum < 0x80 else 0 + offset = 1 if inum < 0x7a else 0 url = "https://{}b.hitomi.la/images/{}/{}/{}.{}".format( chr(97 + offset),