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

Date-related nozomi.la download error #1163

Closed
UseAfterFree-177 opened this issue Dec 6, 2020 · 0 comments
Closed

Date-related nozomi.la download error #1163

UseAfterFree-177 opened this issue Dec 6, 2020 · 0 comments

Comments

@UseAfterFree-177
Copy link

At least one Nozomi gallery fails to download for me today:

bash$ gallery-dl --verbose --mtime-from-date --write-metadata "https://nozomi.la/tag/abubu-1.html"
[gallery-dl][debug] Version 1.16.0-dev
[gallery-dl][debug] Python 3.8.5 - Linux-5.4.0-54-generic-x86_64-with-glibc2.29
[gallery-dl][debug] requests 2.22.0 - urllib3 1.25.8
[gallery-dl][debug] Starting DownloadJob for 'https://nozomi.la/tag/abubu-1.html'
[nozomi][debug] Using NozomiTagExtractor for 'https://nozomi.la/tag/abubu-1.html'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): n.nozomi.la:443
[urllib3.connectionpool][debug] https://n.nozomi.la:443 "GET /nozomi/abubu.nozomi HTTP/1.1" 206 256
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): j.nozomi.la:443
[urllib3.connectionpool][debug] https://j.nozomi.la:443 "GET /post/9/98/26938989.json HTTP/1.1" 200 690
[nozomi][debug] Active postprocessor modules: [MtimePP, MetadataPP]
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): i.nozomi.la:443

[...]

[urllib3.connectionpool][debug] https://i.nozomi.la:443 "GET /0/3b/c6aa4262184e17480ffe29a1f30256c8a03d31f54ad21ddfc7e4c6b706fef3b0.jpg HTTP/1.1" 200 58363
./gallery-dl/nozomi/abubu/12029 c6aa426…56c8a03d31f54ad21ddfc7e4c6b706fef3b0.jpg
[urllib3.connectionpool][debug] https://j.nozomi.la:443 "GET /post/7/29/10297.json HTTP/1.1" 200 731
[urllib3.connectionpool][debug] https://i.nozomi.la:443 "GET /5/99/47a48686c30563d738275f090055fe2efe03b17b03a23ab58c9a3a11570a2995.jpg HTTP/1.1" 200 44265
./gallery-dl/nozomi/abubu/10297 47a4868…fe2efe03b17b03a23ab58c9a3a11570a2995.jpg
[urllib3.connectionpool][debug] https://j.nozomi.la:443 "GET /post/9/30/130309.json HTTP/1.1" 200 465
[nozomi][error] An unexpected error occurred: TypeError - unsupported operand type(s) for +: 'NoneType' and 'str'. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[nozomi][debug] 
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/gallery_dl/job.py", line 68, in run
    for msg in self.extractor:
  File "/usr/local/lib/python3.8/dist-packages/gallery_dl/extractor/nozomi.py", line 55, in items
    post["date"] + ":00", "%Y-%m-%d %H:%M:%S%z")
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

For some reason, (at least) one image in the gallery leaves post["date"] unset, which then makes the download error out. If I remove the --mtime-from-date and --write-metadata flags, the download still fails in the same way.

@mikf mikf closed this as completed in 4225f12 Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant