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] Cannot download "Twitter follower", "Twitter mutual" and "Warning" labeled posts #2796

Closed
oxi7589 opened this issue Jul 30, 2022 · 6 comments

Comments

@oxi7589
Copy link

oxi7589 commented Jul 30, 2022

Posts classified as only available to Twitter followers, Twitter mutuals, and the ones which have a warning label on them are not properly downloaded by gallery-dl.

Test case 1

What I've tried

  gallery-dl --cookies cookies-poipiku-com.txt https://poipiku.com/2010722/6416103.html

(cookies are sufficient to view the post; to test use a poipiku acc tied to a twitter acc following this person)

Expected behavior: two image attachments downloaded.
Actual behavior: a single image, and a rather useless one:
6416103_1

Test case 2

What I've tried

  gallery-dl --cookies cookies-poipiku-com.txt https://poipiku.com/2010722/6591104.html

(cookies are not strictly necessary to view the post)

Expected behavior: a single image attachment downloaded.
Actual behavior: a single image, but a rather useless one:
6591104_1

The example posts are NSFW. I was not able to find a Mutuals-only example, but they do exist and I've seen them around before.

@turnitoff92
Copy link

turnitoff92 commented Aug 1, 2022

Expected behavior: two image attachments downloaded.
Actual behavior: a single image, and a rather useless one:

To add to this, this happens even with posts that aren't behind any locks, it always only downloads one image.

@mikf
Copy link
Owner

mikf commented Aug 3, 2022

The issue from #2796 (comment) as well as gallery-dl downloading warning pictures is fixed in commits b9a14b5 and 033faf6.

Maybe those also fixed the problem with follower-only posts, but I haven't tested that yet.

@oxi7589
Copy link
Author

oxi7589 commented Aug 3, 2022

I can confirm that follower-exclusive posts are downloaded properly in the latest dev version.

I still don't have a good mutuals-only example, but they are very likely to work fine as well.

@mikf mikf closed this as completed Aug 29, 2022
@biggestsonicfan
Copy link

biggestsonicfan commented Sep 10, 2022

It's not working for me but I may be doing something wrong...

Edit: I am seeing the additional follower content being added in the IllustItemThubExpand div.

@oxi7589
Copy link
Author

oxi7589 commented Sep 11, 2022

This probably deserves its own issue, but I will point it out here at first. While follower-locked content is downloaded properly, some of the pics (regardless of whether those are follower-locked or not) fail to download with a 404 error due to gallery-dl trying to access originals via the https://img.poipiku.com/ domain (the site itself uses https://img-org.poipiku.com/), and while that works for most pics, some newer ones are only accessible via the img-org.

@mikf
Copy link
Owner

mikf commented Sep 14, 2022

It's not working for me but I may be doing something wrong...

What is not working? Downloading follower-exclusive posts?
You need to use browser cookies for this, I would think, and according to #2796 (comment) it does work.

some of the pics … fail to download with a 404 error due to gallery-dl trying to access originals via the https://img.poipiku.com/

It now uses img-org.poipiku.com for all downloads (673b6f1). img-org URLs require a valid Referer header to download, by the way.

I've also found a post that throws a 404 error regardless of domain and is also not viewable in browser. Only its preview version is available.
https://poipiku.com/25049/7394673.html

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

4 participants