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

[poipiku] Unable to download R-18 posts #5567

Closed
buratsy opened this issue May 8, 2024 · 4 comments
Closed

[poipiku] Unable to download R-18 posts #5567

buratsy opened this issue May 8, 2024 · 4 comments

Comments

@buratsy
Copy link

buratsy commented May 8, 2024

Poipiku recently added a new toggle button to switch between All-Ages mode and Adult mode which can be found beside the search bar. Currently, there is no way to set Adult mode as the default.
Now, gallery-dl can't download R-18 posts at all even after switching modes on my browser. Is there a fix for this?

@Phultin
Copy link

Phultin commented May 9, 2024

If you have gallery-dl use cookies from a browser that is currently set to adult mode, it should be able to download R18 images.
Currently, if you try to run it without the right cookies, the extractor will just skip any R18 images without any indication. Maybe adding a warning when an image is skipped in this way would be helpful, if it's possible to detect when it happens.

@mikf
Copy link
Owner

mikf commented May 9, 2024

Have gallery-dl send a POIPIKU_CONTENTS_VIEW_MODE cookie with value 1 to enable "adult" mode:

-o cookies.POIPIKU_CONTENTS_VIEW_MODE=\"1\"

(\" are necessary to have 1 be interpreted as text instead of a number)

if it's possible to detect when it happens.

It's not, but sending this cookie automatically would be quite easy.

@buratsy
Copy link
Author

buratsy commented May 10, 2024

Is it possible to integrate that command into the extractor config file? What can I do to automate it?

Never mind. I managed to do it. Thanks.

@buratsy buratsy closed this as completed May 10, 2024
mikf added a commit that referenced this issue May 10, 2024
… by automatically sending a `POIPIKU_CONTENTS_VIEW_MODE=1` cookie
to enable "adult" mode.
@mikf
Copy link
Owner

mikf commented May 10, 2024

Fixed in b27ffd7

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

3 participants