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

Problem since this morning with Imagebam galleries #2334

Closed
Akktustakki04 opened this issue Feb 25, 2022 · 2 comments
Closed

Problem since this morning with Imagebam galleries #2334

Akktustakki04 opened this issue Feb 25, 2022 · 2 comments

Comments

@Akktustakki04
Copy link

I have tried several galleries and they all give the same error as below

C:>gallery-dl -v https://www.imagebam.com/gallery/b2pq7ew6l8ubdmf469z41wxlvr7f6vzi
[gallery-dl][debug] Version 1.20.5 - Executable
[gallery-dl][debug] Python 3.7.9 - Windows-10-10.0.19041
[gallery-dl][debug] requests 2.27.1 - urllib3 1.26.8
[gallery-dl][debug] Starting DownloadJob for 'https://www.imagebam.com/gallery/b2pq7ew6l8ubdmf469z41wxlvr7f6vzi'
[imagebam][debug] Using ImagebamGalleryExtractor for 'https://www.imagebam.com/gallery/b2pq7ew6l8ubdmf469z41wxlvr7f6vzi'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): www.imagebam.com:443
[urllib3.connectionpool][debug] https://www.imagebam.com:443 "GET /gallery/b2pq7ew6l8ubdmf469z41wxlvr7f6vzi HTTP/1.1" 200 None
[urllib3.connectionpool][debug] https://www.imagebam.com:443 "GET /gallery/b2pq7ew6l8ubdmf469z41wxlvr7f6vzi?page=2 HTTP/1.1" 200 None
[urllib3.connectionpool][debug] https://www.imagebam.com:443 "GET /image/5b90bc245114056 HTTP/1.1" 200 None
[urllib3.connectionpool][debug] https://www.imagebam.com:443 "GET /image/5b90bc245114056 HTTP/1.1" 200 None
[imagebam][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 .
[imagebam][debug]
Traceback (most recent call last):
File "gallery_dl\job.pyc", line 76, in run
File "gallery_dl\extractor\imagebam.pyc", line 80, in items
File "gallery_dl\extractor\imagebam.pyc", line 40, in get_image_data
File "html_init_.pyc", line 130, in unescape
TypeError: argument of type 'NoneType' is not iterable

@Akktustakki04
Copy link
Author

Akktustakki04 commented Feb 26, 2022

Hello, I am aware after reading on here that this issue has cropped up and supposedly been solved but could any kind soul please explain how I can go about solving the issue it would be greatly appreciated! Many thanks in advance for any assistance

@mikf
Copy link
Owner

mikf commented Feb 28, 2022

No, this is a new problem. The old method of getting around NSFW pages doesn't work anymore, which is why you get this error.

This will be fixed in the next version (1c79044), but you can use -o cookies.nsfw_inter=\"1\" as a workaround in the meantime:

$ gallery-dl -o cookies.nsfw_inter=\"1\" https://www.imagebam.com/gallery/b2pq7ew6l8ubdmf469z41wxlvr7f6vzi

(yes, the \" are necessary)

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

2 participants