Closed MarqFJA87 closed 2 years ago
Works for me, but I am on linux with a newer version of.. all dependencies actually. Could this be relevant?
katt@main ~ » gallery-dl --verbose https://seiga.nicovideo.jp/seiga/im10826560
[gallery-dl][debug] Version 1.19.0
[gallery-dl][debug] Python 3.9.7 - Linux-5.14.9-zen2-1-zen-x86_64-with-glibc2.33
[gallery-dl][debug] requests 2.26.0 - urllib3 1.26.7
[gallery-dl][debug] Starting DownloadJob for 'https://seiga.nicovideo.jp/seiga/im10826560'
[seiga][debug] Using SeigaImageExtractor for 'https://seiga.nicovideo.jp/seiga/im10826560'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): seiga.nicovideo.jp:443
[urllib3.connectionpool][debug] https://seiga.nicovideo.jp:443 "GET /seiga/im10826560 HTTP/1.1" 200 15198
[seiga][debug] Using download archive '/mnt/jupiter/Temp/gallery-dl/archives/seiga.sqlite3'
[seiga][debug] Active postprocessor modules: [ExecPP, UgoiraPP]
[urllib3.connectionpool][debug] https://seiga.nicovideo.jp:443 "HEAD /image/source/10826560 HTTP/1.1" 302 0
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): lohas.nicoseiga.jp:443
[urllib3.connectionpool][debug] https://lohas.nicoseiga.jp:443 "GET /priv/56b7fe55000eebd1ff8851b093ee7419f1adde7b/1633607623/10826560 HTTP/1.1" 200 1400849
/mnt/jupiter/Temp/gallery-dl/seiga/seiga_10826560.jpg
What dependencies?
I was simply referring to the ones listed in the output: python, requests and urllib.
Took a while, but I managed to figure out how to install Python and the dependencies (had been using the standalone gallery-dl executable until now). Still got an error when I tried the download again.
D:\>gallery-dl "https://seiga.nicovideo.jp/seiga/im10826560" --verbose
[gallery-dl][debug] Version 1.19.0
[gallery-dl][debug] Python 3.10.0 - Windows-10-10.0.19043-SP0
[gallery-dl][debug] requests 2.26.0 - urllib3 1.26.7
[gallery-dl][debug] Starting DownloadJob for 'https://seiga.nicovideo.jp/seiga/im10826560'
[seiga][debug] Using SeigaImageExtractor for 'https://seiga.nicovideo.jp/seiga/im10826560'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): seiga.nicovideo.jp:443
[urllib3.connectionpool][debug] https://seiga.nicovideo.jp:443 "GET /seiga/im10826560 HTTP/1.1" 200 6010
[seiga][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 .
[seiga][debug]
Traceback (most recent call last):
File "D:\Programs\Python\Python310\lib\site-packages\gallery_dl\job.py", line 80, in run
for msg in extractor:
File "D:\Programs\Python\Python310\lib\site-packages\gallery_dl\extractor\seiga.py", line 29, in items
images = iter(self.get_images())
File "D:\Programs\Python\Python310\lib\site-packages\gallery_dl\extractor\seiga.py", line 219, in get_images
data["date"] + ":00+0900", "%Y年%m月%d日 %H:%M:%S%z")
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Maybe the cached login session expired?
Run gallery-dl --clear-cache seiga
and see if that has any effect.
That did the trick. Thanks!
When I attempt to download a Seiga gallery via the user profile's link (example - NSFW), I only get HTML files instead of images, each of which is an identical error page to the effect of "this site was accessed through a URL other than nicovideo.jp". This is despite the fact that I've correctly included my username and password in the config file, and had performed such downloads in the past without any problems.
In addition, when I try to download via individual image links (example - NSFW), I receive the following error: