D wrapper around (some) of the pixiv web API
修订版 | ec0f80a31846bc9a58dd1a31e583cbfebcfbc050 (tree) |
---|---|
时间 | 2023-09-28 16:10:33 |
作者 | supercell <stigma@disr...> |
Commiter | supercell |
Fix incorrect number for PageAlreadyDownloaded
@@ -821,7 +821,7 @@ private: | ||
821 | 821 | const jsonBody = json["body"].array; |
822 | 822 | // +1 so this matches PageAlreadyDownloaded containing the |
823 | 823 | // 1-based numbering of the current page. |
824 | - const totalNumberOfPages = jsonBody.length + 1; | |
824 | + const totalNumberOfPages = jsonBody.length; | |
825 | 825 | |
826 | 826 | foreach (pageNumber, jsonobj; jsonBody) |
827 | 827 | { |