-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed as duplicate of#6948
Description
I just noticed this issue today, but I'm currently unable to download any galleries from Koharu / Niyaniya. The site seems to have recently implemented a captcha, so that could be what's causing the issue. It pops up occasionally when you visit the site. I've tried other links than the one in the error below and get the same thing.
[gallery-dl][debug] Version 1.29.4
[gallery-dl][debug] Python 3.13.2 - Linux-6.14.2-zen1-1-zen-x86_64-with-glibc2.41
[gallery-dl][debug] requests 2.32.3 - urllib3 2.3.0
[gallery-dl][debug] Configuration Files ['${XDG_CONFIG_HOME}/gallery-dl/config.json']
[gallery-dl][debug] Starting DownloadJob for 'https://niyaniya.moe/g/10849/f5c537c76765'
[koharu][debug] Using KoharuGalleryExtractor for 'https://niyaniya.moe/g/10849/f5c537c76765'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): api.schale.network:443
[urllib3.connectionpool][debug] https://api.schale.network:443 "GET /books/detail/10849/f5c537c76765 HTTP/1.1" 200 2940
[koharu][error] An unexpected error occurred: KeyError - 'data'. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[koharu][debug]
Traceback (most recent call last):
File "/home/eric/.local/pipx/venvs/gallery-dl/lib/python3.13/site-packages/gallery_dl/job.py", line 152, in run
for msg in extractor:
^^^^^^^^^
File "/home/eric/.local/pipx/venvs/gallery-dl/lib/python3.13/site-packages/gallery_dl/extractor/common.py", line 703, in items
imgs = self.images(page)
File "/home/eric/.local/pipx/venvs/gallery-dl/lib/python3.13/site-packages/gallery_dl/extractor/koharu.py", line 143, in images
fmt = self._select_format(data["data"])
~~~~^^^^^^^^
KeyError: 'data'Reactions are currently unavailable