yellowbluesky / PixivforMuzei3

Best Pixiv plugin for Muzei 3
GNU General Public License v3.0
173 stars 15 forks source link

Very slow or No downloading of images most of the time #188

Open rsmyst opened 2 years ago

rsmyst commented 2 years ago

The app doesn't seem to be doing what it's supposed to be doing. No image is being downloaded after entering a search tag (i'm logged in). The preview section is always empty and muzei shows that there is no image to display from this source. The muzeipixivsource app by James downlaods images so much faster and more consistently. That app doesn't have tag search features though. Well anyway, even in ranked mode pixivformuzei3 doesn't work. very slow. Would appreciate some help since pixiv itself is loading images very quickly. Maybe I can download resized images to increase speed??

yellowbluesky commented 2 years ago

Hi, sorry for the late response, I have been sick for a little while now.

Is this issue an ongoing one, or does it resolve itself for a while before coming back?

In my experience, the Pixiv CDN will sometimes slow to a crawl for no apparent reason, and remains slow for a few days at a time.

I'm blaming the CDN because this slowdown is observable in this app, in the official app, and in the website.

rsmyst commented 2 years ago

@yellowbluesky, No worries if you are sick. it is very understandable. Also, in response to your question, yes but not exactly. the pixiv CDN isn't most likely the issue here because apps like https://github.com/Notsfsssf/pixez-flutter (pixiv FOSS android app) and pxview R work very fast. They download images instantly. The same goes for the actual pixiv app/website. Tested when this extension was having troubles.

FYI, there's another pixiv muzei extension on GitHub (https://github.com/dahlia/muzei-pixiv) that works really fast WRT to downloading art. It was last updated in 2019, so it's definitely possible to fix this issue, I think.

Perhaps you can comb through that extension's download code to increase speed somehow?

And get well soon!