This repository was archived by the owner on Feb 3, 2025. It is now read-only.
Why number of added mangas is different from scheduled? #108
Unanswered
vonProteus
asked this question in
Q&A
Replies: 1 comment
-
i did this #!/bin/bash -e
IDS=$(curl 'https://kaizoku.lan/api/trpc/manga.query,library.query,manga.history,manga.activity?batch=1&input=%7B%220%22%3A%7B%22json%22%3Anull%2C%22meta%22%3A%7B%22values%22%3A%5B%22undefined%22%5D%7D%7D%2C%221%22%3A%7B%22json%22%3Anull%2C%22meta%22%3A%7B%22values%22%3A%5B%22undefined%22%5D%7D%7D%2C%222%22%3A%7B%22json%22%3Anull%2C%22meta%22%3A%7B%22values%22%3A%5B%22undefined%22%5D%7D%7D%2C%223%22%3A%7B%22json%22%3Anull%2C%22meta%22%3A%7B%22values%22%3A%5B%22undefined%22%5D%7D%7D%7D' --compressed | jq ".[0].result.data.json[].id")
for ID in $IDS;
do
echo id $ID
curl 'https://kaizoku.lan/api/trpc/manga.update?batch=1' -s -o /dev/null -w "off\t%{http_code}\n" --compressed -X POST -H 'content-type: application/json' --data-raw "{\"0\":{\"json\":{\"id\":$ID,\"interval\":\"never\",\"anilistId\":\"\"}}}"
curl 'https://kaizoku.lan/api/trpc/manga.update?batch=1' -s -o /dev/null -w "on\t%{http_code}\n" --compressed -X POST -H 'content-type: application/json' --data-raw "{\"0\":{\"json\":{\"id\":$ID,\"interval\":\"0 0 * * 7\",\"anilistId\":\"\"}}}"
done and get as an output
and the number of scheduled increased to 10 which means that 3 are still missing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i have added 13 mangas some time ago but scheduled column under activities show only 9 now
should i be worried?
how to fix it?
i remember seeing 13 at one point
Beta Was this translation helpful? Give feedback.
All reactions