RicterZ / nhentai

nhentai doujinshi downloader
http://nhentai.net
MIT License
771 stars 109 forks source link

No JSON object could be decoded #36

Closed DukeValentine closed 5 years ago

DukeValentine commented 5 years ago

When I attempt to download from my favorites, some of the doujinshi give the error referenced in the title.

Version: 0.2.18

Command: nhentai --login username:password --download

Output:

[22:14:53] [INFO] Fetching information of doujinshi id 250158
[22:14:53] [CRITICAL] No JSON object could be decoded
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/threadpool.py", line 158, in run
    result = request.callable(*request.args, **request.kwds)
  File "/usr/local/lib/python2.7/dist-packages/nhentai-0.2.18-py2.7.egg/nhentai/parser.py", line 108, in doujinshi_parser
    exit(1)
  File "/usr/lib/python2.7/site.py", line 366, in __call__
    raise SystemExit(code)
SystemExit: 1
[22:14:53] [INFO] Fetching information of doujinshi id 250161
[22:14:53] [CRITICAL] No JSON object could be decoded
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/threadpool.py", line 158, in run
    result = request.callable(*request.args, **request.kwds)
  File "/usr/local/lib/python2.7/dist-packages/nhentai-0.2.18-py2.7.egg/nhentai/parser.py", line 108, in doujinshi_parser
    exit(1)
  File "/usr/lib/python2.7/site.py", line 366, in __call__
    raise SystemExit(code)
SystemExit: 1
[22:14:53] [CRITICAL] No JSON object could be decoded
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/threadpool.py", line 158, in run
    result = request.callable(*request.args, **request.kwds)
  File "/usr/local/lib/python2.7/dist-packages/nhentai-0.2.18-py2.7.egg/nhentai/parser.py", line 108, in doujinshi_parser
    exit(1)
  File "/usr/lib/python2.7/site.py", line 366, in __call__
    raise SystemExit(code)
SystemExit: 1
RicterZ commented 5 years ago

Got, I'll check it out.

RicterZ commented 5 years ago

Sorry, I cannot reproduct it. What's mirror of nhentai do you use? Please try nhentai.net

RicterZ commented 5 years ago

You can checkout the CI log: https://travis-ci.org/RicterZ/nhentai/jobs/450483234 It's working normally.

DukeValentine commented 5 years ago

It seems the issue is not present anymore. This issue can be closed now.

RicterZ commented 5 years ago

Ok, thanks