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

hentainexus error #1166

Closed
backup37 opened this issue Dec 7, 2020 · 4 comments
Closed

hentainexus error #1166

backup37 opened this issue Dec 7, 2020 · 4 comments

Comments

@backup37
Copy link

backup37 commented Dec 7, 2020

[gallery-dl][debug] Version 1.15.4
[gallery-dl][debug] Python 3.7.9 - Windows-10-10.0.19041
[gallery-dl][debug] requests 2.24.0 - urllib3 1.25.11
[1/2] flag
[gallery-dl][debug] Starting DownloadJob for 'flag'
[gallery-dl][error] No suitable extractor found for 'flag'
[2/2] https://hentainexus.com/view/9333
[gallery-dl][debug] Starting DownloadJob for 'https://hentainexus.com/view/9333'
[hentainexus][debug] Using HentainexusGalleryExtractor for 'https://hentainexus.com/view/9333'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): hentainexus.com:443
[urllib3.connectionpool][debug] https://hentainexus.com:443 "GET /view/9333 HTTP/1.1" 200 None
[urllib3.connectionpool][debug] https://hentainexus.com:443 "GET /read/9333/001 HTTP/1.1" 303 None
[urllib3.connectionpool][debug] https://hentainexus.com:443 "GET /read/9333 HTTP/1.1" 200 None
[hentainexus][error] An unexpected error occurred: JSONDecodeError - Expecting value: line 1 column 1 (char 0). Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[hentainexus][debug]
Traceback (most recent call last):
File "gallery_dl\job.py", line 67, in run
File "gallery_dl\extractor\common.py", line 395, in items
File "gallery_dl\extractor\hentainexus.py", line 65, in images
File "json_init_.py", line 348, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

@ramzh
Copy link

ramzh commented Dec 8, 2020

Same issue. +1

@mo-han
Copy link
Contributor

mo-han commented Dec 10, 2020

seems like the site changed tricks, HentainexusGalleryExtractor._decode returns garbled result now, even with those new commits (two weeks ago) mentioned in #1125

@mo-han
Copy link
Contributor

mo-han commented Dec 12, 2020

@mikf
hi, mind if i ask how did u find the decode algorithm just for curiosity?

@mikf mikf closed this as completed in 1d75354 Dec 12, 2020
@mikf
Copy link
Owner

mikf commented Dec 13, 2020

@mo-han
I take the latest iteration of /static/js/reader.min.js, deobfuscate it (auto-format the code, rename variables, etc so can make sense of what the code is doing), and reimplement the code from initReader in Python.

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

4 participants