summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/hitomi.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/hitomi.py')
-rw-r--r--gallery_dl/extractor/hitomi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/hitomi.py b/gallery_dl/extractor/hitomi.py
index 2ea5dfa..7c338a8 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),