sekai-soft / mastodon-patches

Patches for mastodon.ktachibana.party
https://mastodon.ktachibana.party/about
0 stars 1 forks source link

Pixiv preview issue #18

Closed Frederick888 closed 4 years ago

Frederick888 commented 4 years ago

Mastodon per se is capable of pulling Pixiv preview images according to tootsuite/mastodon#13213, so perhaps you could try cURL'ing the links mentioned in that ticket in your VPS to see whether there is actually any server-side filtering going on. If this is the case I'd be happy to provide a reverse proxy or the like.

But right now there seems to be another issue. IIRC it used to simply show nothing for Pixiv links however they now have got empty previews with background-image: url("null");. I'd appreciate it if you could look into it :) image

KTachibanaM commented 4 years ago

Looks like the instance IP has been banned by Pixiv server(s). When attempting to generate a preview card for a toot with a Pixiv link, the instance will fail to download the preview image from Pixiv server(s), hence the instance is not able to show Pixiv previews.