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

Sankaku exception #52

Closed
scottlee1 opened this issue Dec 7, 2017 · 0 comments
Closed

Sankaku exception #52

scottlee1 opened this issue Dec 7, 2017 · 0 comments
Labels

Comments

@scottlee1
Copy link

Sankaku post Id: 6443742. cause exception.

gallery-dl --verbose "https://chan.sankakucomplex.com/?tags=date:2017-10-01..2017-10-31T23:55:00:00+-rating:s+-animated+-webm+-mp4&commit=Search"

[gallery-dl][debug] Version 1.0.2
[gallery-dl][debug] Python 3.4.2 - Linux-4.9.47-v7+-armv7l-with-debian-8.0
[gallery-dl][debug] Starting DownloadJob for 'https://chan.sankakucomplex.com/?tags=date:2017-10-01..2017-10-31T23:55:00:00+-rating:s+-animated+-webm+-mp4&commit=Search'
[sankaku][debug] Using SankakuTagExtractor for https://chan.sankakucomplex.com/?tags=date:2017-10-01..2017-10-31T23:55:00:00+-rating:s+-animated+-webm+-mp4&commit=Search
[urllib3.connectionpool][info] Starting new HTTPS connection (1): chan.sankakucomplex.com
[urllib3.connectionpool][debug] "GET /?page=1&tags=date%3A2017-10-01..2017-10-31T23%3A55%3A00%3A00+-rating%3As+-animated+-webm+-mp4 HTTP/1.1" 200 None
[urllib3.connectionpool][debug] "GET /post/show/6443843 HTTP/1.1" 200 None

/home/scott/PIC/sankaku/6443843.png

[urllib3.connectionpool][debug] "GET /post/show/6443842 HTTP/1.1" 200 None
[sankaku][error] An unexpected error occurred: TypeError - argument of type 'NoneType' is not iterable. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[sankaku][debug] Traceback
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/gallery_dl/job.py", line 58, in run
for msg in self.extractor:
File "/usr/local/lib/python3.4/dist-packages/gallery_dl/extractor/sankaku.py", line 55, in items
for image in self.get_images():
File "/usr/local/lib/python3.4/dist-packages/gallery_dl/extractor/sankaku.py", line 76, in get_images
image = self.get_image_metadata(image_id)
File "/usr/local/lib/python3.4/dist-packages/gallery_dl/extractor/sankaku.py", line 96, in get_image_metadata
"file_url": "https:" + text.unescape(image_url),
File "/usr/lib/python3.4/html/init.py", line 130, in unescape
if '&' not in s:
TypeError: argument of type 'NoneType' is not iterable

@mikf mikf closed this as completed in a3924d2 Dec 7, 2017
@mikf mikf added the bug label Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants