Closed Misaka13514 closed 1 year ago
Seems working on my side.
What about other Pixiv links? Have you tried /pixiv_download
? You may also try to download the image via the pximg.net link in command line (e.g. using wget or curl) on your server to see if it's working.
Have you tried
/pixiv_download
?
Error: Timeout, please try again.
You may also try to download the image via the pximg.net link in command line (e.g. using wget or curl) on your server to see if it's working.
$ curl -L 'https://i.pximg.net/img-original/img/2023/01/04/19/34/29/104233490_p0.png' \
-H 'authority: i.pximg.net' \
-H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \
-H 'accept-language: ja-JP,ja;q=0.9,en-US;q=0.8,en;q=0.7,zh-CN;q=0.6,zh;q=0.5' \
-H 'cache-control: no-cache' \
-H 'dnt: 1' \
-H 'pragma: no-cache' \
-H 'referer: https://www.pixiv.net/' \
-H 'sec-ch-ua: "Not?A_Brand";v="8", "Chromium";v="108"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "Linux"' \
-H 'sec-fetch-dest: document' \
-H 'sec-fetch-mode: navigate' \
-H 'sec-fetch-site: cross-site' \
-H 'sec-fetch-user: ?1' \
-H 'upgrade-insecure-requests: 1' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36' \
--compressed --output 104233490_p0.png
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2099k 100 2099k 0 0 27797 0 0:01:17 0:01:17 --:--:-- 34576
Seems it is the issue of my network. (Time Total 01:17 for 2099k) I don't know why(
Modified TIMEOUT
in env, it works now. Thank you.
Describe the bug A clear and concise description of what the bug is.
png
s are created indata/temp
but have size0
To Reproduce Steps to reproduce the behavior:
https://www.pixiv.net/artworks/104233490
Error: Timeout, please try again.
Expected behavior Fetch the images and send them to storages.
Error output / Logs
Environment (please complete the following information):
Additional context I have tried to refresh Pixiv token by #9, does not work.