summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/hitomi.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2021-11-10 01:26:06 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2021-11-10 01:26:06 -0500
commitfc8c5e642017e2b4e5299e2093e72b316479690d (patch)
tree41119c71e8d86755f4c945d8c2ccf5a7000f546e /gallery_dl/extractor/hitomi.py
parent4a965d875415907cc1a016b428ae305a964f9228 (diff)
New upstream version 1.19.2.upstream/1.19.2
Diffstat (limited to 'gallery_dl/extractor/hitomi.py')
-rw-r--r--gallery_dl/extractor/hitomi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gallery_dl/extractor/hitomi.py b/gallery_dl/extractor/hitomi.py
index 01e5629..a4ce925 100644
--- a/gallery_dl/extractor/hitomi.py
+++ b/gallery_dl/extractor/hitomi.py
@@ -35,12 +35,12 @@ class HitomiGalleryExtractor(GalleryExtractor):
}),
# Game CG with scenes (#321)
("https://hitomi.la/galleries/733697.html", {
- "url": "e057652b40629d3d72b0ef059c6ec7556417139c",
+ "url": "0cb629ab2bfe93d994a7972f68ad2a5a64ecc161",
"count": 210,
}),
# fallback for galleries only available through /reader/ URLs
("https://hitomi.la/galleries/1045954.html", {
- "url": "779b94b47d5f0c2341db03499270d2b5370196f6",
+ "url": "b420755d56a1135104ca8ca0765f44e290db70c3",
"count": 1413,
}),
# gallery with "broken" redirect
@@ -140,7 +140,7 @@ class HitomiGalleryExtractor(GalleryExtractor):
# see https://ltn.hitomi.la/common.js
inum = int(ihash[-3:-1], 16)
- offset = 2 if inum < 0x44 else 1 if inum < 0x88 else 0
+ offset = 1 if inum < 0x7c else 0
url = "https://{}b.hitomi.la/images/{}/{}/{}.{}".format(
chr(97 + offset),