Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hitomi] 404 Errors #2153

Closed
austblack88 opened this issue Jan 1, 2022 · 4 comments
Closed

[Hitomi] 404 Errors #2153

austblack88 opened this issue Jan 1, 2022 · 4 comments

Comments

@austblack88
Copy link

I think Hitomi updated their image sources, since every time I try to download something, the images show a 404 error from the extractor, but I can still view them on the website.

@mikf
Copy link
Owner

mikf commented Jan 3, 2022

The hitomi issue was supposed to be fixed in v1.20.0 with becc7f8, but they have changed things around yet again. For right now, the fixes from 38e2af2 make it work again.

@selpats
Copy link

selpats commented Jan 6, 2022

I still have problems with hitomi

gallery-dl https://hitomi.la/galleries/2065212.html --verbose
[gallery-dl][debug] Version 1.20.1-dev
[gallery-dl][debug] Python 3.10.1 - Linux-5.15.13-1-MANJARO-x86_64-with-glibc2.33
[gallery-dl][debug] requests 2.26.0 - urllib3 1.26.7
[gallery-dl][debug] Starting DownloadJob for 'https://hitomi.la/galleries/2065212.html'
[hitomi][debug] Using HitomiGalleryExtractor for 'https://hitomi.la/galleries/2065212.html'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): ltn.hitomi.la:443
[urllib3.connectionpool][debug] https://ltn.hitomi.la:443 "GET /galleries/2065212.js HTTP/1.1" 200 7277
[urllib3.connectionpool][debug] https://ltn.hitomi.la:443 "GET /gg.js HTTP/1.1" 200 11771
[hitomi][error] An unexpected error occurred: UnboundLocalError - local variable 'value' referenced before assignment. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[hitomi][debug]
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/gallery_dl/cache.py", line 32, in call
value = self.cache[key]
KeyError: ''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/gallery_dl/job.py", line 79, in run
for msg in extractor:
File "/usr/lib/python3.10/site-packages/gallery_dl/extractor/common.py", line 449, in items
imgs = self.images(page)
File "/usr/lib/python3.10/site-packages/gallery_dl/extractor/hitomi.py", line 141, in images
gg_m, gg_b, gg_default = _parse_gg(self)
File "/usr/lib/python3.10/site-packages/gallery_dl/cache.py", line 34, in call
value = self.cache[key] = self.func(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/gallery_dl/extractor/hitomi.py", line 214, in _parse_gg
return m, b.group(1).strip("/"), int(d.group(1)) if d else int(not value)
UnboundLocalError: local variable 'value' referenced before assignment

@mikf
Copy link
Owner

mikf commented Jan 6, 2022

They are currently changing things around on a daily basis.
New fix in 8b910dd.

@mikf
Copy link
Owner

mikf commented Jan 13, 2022

There haven't been any changes for a week, so I'm closing this for now.

@mikf mikf closed this as completed Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants