From 14852f7050a7fdee5cbcdebd3f9fe7ebd04f17fe Mon Sep 17 00:00:00 2001 From: YongChan Cho Date: Sun, 31 Oct 2021 04:45:01 +0900 Subject: [PATCH] [hitomi] fix image path (#1988) --- 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 feaa1f59..349c8485 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 < 0x7a else 0 + offset = 1 if inum < 0x7c else 0 url = "https://{}b.hitomi.la/images/{}/{}/{}.{}".format( chr(97 + offset),