mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-26 12:42:29 +01:00
[hitomi]: fix image URLs (#1975)
This commit is contained in:
parent
dcb201ff19
commit
6b6d92d51c
@ -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 < 0x80 else 0
|
||||
|
||||
url = "https://{}b.hitomi.la/images/{}/{}/{}.{}".format(
|
||||
chr(97 + offset),
|
||||
|
Loading…
Reference in New Issue
Block a user