-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Pixiv bridge: Support login #2759
Comments
If this is added, it should be as a checkbox, "Show R-18 works" |
As discussed earlier, this goes against the nature of the project. But I can accept placing this bridge in e.g. |
Configuration values for API keys were what I was thinking of, like the Twitter bridge. And now that I think about it, R-18/R-18G is a toggle in account settings, not cookies, so non-logged in bridges wouldn't need a useless check box added. Unfortunately the https://www.pixiv.net/bookmark_new_illust.php endpoint is only available for the logged in user, so maybe a bridge could be added to the ./contrib folder to support it. Also, I looked into it more and getting a Pixiv API key is a huge hassle, but if you require the user to input their API key to a static config file, you can have them follow these instructions and paste the refresh token where RSS-Bridge can find it. RSS-Bridge would then need to fetch and cache a new refresh and auth token and their expiration time and repeat whenever they expire. One problem with this is that the refresh token in the config would no longer refer to any valid token, but maybe RSS-Bridge could just associate this old token with its current state and refresh using it only when it changes. |
@guldor12 I'm looking into this, why not use the |
I'm also not sure why this bridge caches the images yet - I'm going to see if using no-referrer on the images will work. edit: oh what fun they need a referrer to view the image. |
Difference between using cookie and oauth are different endpoints / and datasets to work with, but for compatibility reasons I'll work with cookies instead. Both resulting links to images still require a referrer set to Pixiv, so caching / proxying the images are still required. |
Good site to proxy images from. They also have a handy nginx or Cloudflare worker profile to use for self-hosters. |
* added cookie mgmt and support for issue #2759 * added image proxy option * + mature and ai options, + cookie doc * mention doc * check cookie is auth'd
@guldor12 R-18 works are now supported if you follow the bridge specific documentation when hosting rss-bridge yourself. Re: the bridge for |
* added cookie mgmt and support for issue RSS-Bridge#2759 * added image proxy option * + mature and ai options, + cookie doc * mention doc * check cookie is auth'd
Is your feature request related to a problem? Please describe.
Pixiv doesn't display R-18 and R-18G works to unregistered users.
Examples:
User with R-18 works (some non-R-18 works are also hidden)
User with R-18G (gore) works
Describe the solution you'd like
Login support should be added/documented like with Instagram/Twitter. It may be possible to copy cookies like with the Furaffinity bridge, but I haven't looked into it much.
Describe alternatives you've considered
I'm not aware of any way to access R-18+ works without an account.
Additional context
This would also be a prerequisite for adding a bridge for https://www.pixiv.net/bookmark_new_illust.php which displays recent works of your followed users. That endpoint would also be nice for users with lots of follows since it would avoid hammering pixiv's servers.
The text was updated successfully, but these errors were encountered: