Closed karasawa-user closed 4 years ago
Downloading means the extension is downloading the resources, I'm pretty sure it caused by slow network.
The Pixiv uses fetch api to get resources data and the api can't tell the download progress. I tried to use xhr to request resources, but after several tries there was no luck.
I could use response.body property, it's a ReadableStream, to computed the progress. It's not widely supported but I'll give it a try later.
I afraid it's not caused by slow network because some long ugoiras downloaded pretty fast... But just in case, is "wrong IP" case could happen in this addon? If that so then it's still my net's fault
I tried the url in vivaldi (2.9.1705.41), the extension works fine. Could you screenshot the red lines in the Console of DevTools of the browser. It will display more infomations I need to investigate the issue. I haven't updated the addon on Firefox for a long time. I can't make sure the addon on Firefox will works as expected.
Somehow link above managed to be downloaded today, this from different work, https://www.pixiv.net/en/artworks/75954856
And this is from firefox side, this extension can't work if tracking protection is on so I turn it off first
It seems like the extension has been interrupted by something to make the fetch api cannot fetch data properly. I need to do some test work to find what's going on.
Still have no idea what‘s caused this. Will add a retry button after download is interrupted. Update in next version.
Is there any way to know how far this extension downloading ugoira data before download menu available or at least indicator of it working on something? It seems never completed on some ugoiras and I really can't tell reloading the addon really fix the issue. Here's the sample work that keep stuck at downloading no matter what I do: https://www.pixiv.net/en/artworks/73031132
I using vivaldi 2.9.1705.41 and firefox 61.0.2 on windows 10