Closed KanTakahiro closed 3 years ago
Thank you.
The cause is 2021-7-31
is not a valid date format, and my script use 2021-07-31
as default date. However, today's date is not available. I've change the default ranking date to yesterday, it should work now.
I am using pixiv version
2.4
for downloading daily ranking and got an error like this:The function of fetching image by user ID works fine. I think this maybe a bug of function of "downloading by ranking". The link https://public-api.secure.pixiv.net/v1/ranking/all?mode=daily&page=1&per_page=100&include_stats=True&include_sanity_level=True&image_sizes=px_128x128%2Cpx_480mw%2Csmall%2Cmedium%2Clarge&profile_image_sizes=px_170x170%2Cpx_50x50&date=2021-07-31 pointed to a JSON file like this: