JanitorAI Character Card Scraper

Extract character card with "T" key (WHILE IN CHAT PAGE) and save as .txt, .png, or .json (proxy required)

< Feedback on JanitorAI Character Card Scraper

Question/comment

§
Posted: 11. 07. 2025

I don't know if this is a problem that is specifically to me or not but whenever I try to get the definition of a character Janitor comes out with an error saying "A network error occurred, you may be rate limited or having connection issues: NetworkError when attempting to fetch resource." and it happens on every card that I try to get it's definition even if it's on Json Format and it does download the card but it doesn't copy the definition.

VedorationAuthor
§
Posted: 11. 07. 2025

It should be resolved now, I'm sorry for the inconvenience.

§
Posted: 11. 07. 2025

It should be resolved now, I'm sorry for the inconvenience.

It works better now but it still doesn't seem to get the character definition for the characters.

§
Posted: 11. 07. 2025

It doesn't get the definition for some characters I have noticed. It's like a 50/50.

VedorationAuthor
§
Posted: 11. 07. 2025

Can you link the character cards here? I'm sorry for the inconvenience

VedorationAuthor
§
Posted: 13. 07. 2025

I've updated the script, hopefully this resolves the issue.

§
Posted: 13. 07. 2025

I've updated the script, hopefully this resolves the issue.

It doesn't seem to copy the definitions still and when I try downloading by json it doesn't even import them to ST. I am on firefox if that helps. It used to work perfectly fine and I have everything set up correctly.

§
Posted: 13. 07. 2025

I've updated the script, hopefully this resolves the issue.

It still works for some cards while others it doesn't copy the definition.

VedorationAuthor
§
Posted: 13. 07. 2025

I've updated the script, hopefully this resolves the issue.

It doesn't seem to copy the definitions still and when I try downloading by json it doesn't even import them to ST. I am on firefox if that helps. It used to work perfectly fine and I have everything set up correctly.

I've updated the script, you should now be able to import the character cards. I'm still unsure about the missing character card definitions, but I tested the four cards above and everything worked fine.

§
Posted: 13. 07. 2025

I've updated the script, hopefully this resolves the issue.

It doesn't seem to copy the definitions still and when I try downloading by json it doesn't even import them to ST. I am on firefox if that helps. It used to work perfectly fine and I have everything set up correctly.

I've updated the script, you should now be able to import the character cards. I'm still unsure about the missing character card definitions, but I tested the four cards above and everything worked fine.



Yeah the import works for all of the cards but what is missing is the definition for some but thank you for all of the fixes. Hopefully the bug of the missing definitions can be fixed soon.

§
Posted: 13. 07. 2025

I've updated the script, hopefully this resolves the issue.

It doesn't seem to copy the definitions still and when I try downloading by json it doesn't even import them to ST. I am on firefox if that helps. It used to work perfectly fine and I have everything set up correctly.

I've updated the script, you should now be able to import the character cards. I'm still unsure about the missing character card definitions, but I tested the four cards above and everything worked fine.



I think maybe I found something that might help

https://sucker.severian.dev/

The link above leads to a popular scrapper for janitor cards and I think Janitor handles prompt structures differently. You can read the directions on how to use it and use it as a base to know what is causing the bug.

VedorationAuthor
§
Posted: 13. 07. 2025

Do you mind uploading the character card JSON to catbox, then posting the link here? If possible, could you also include a screenshot of your developer tools console after exporting the card as JSON? I'll have to check it later in the morning, sorry for the inconvenience.

§
Posted: 13. 07. 2025

Do you mind uploading the character card JSON to catbox, then posting the link here? If possible, could you also include a screenshot of your developer tools console after exporting the card as JSON? I'll have to check it later in the morning, sorry for the inconvenience.

Sure! And I don't know if I did it right but here is the link for one of the characters and the screenshot.

https://files.catbox.moe/8daj45.json

VedorationAuthor
§
Posted: 13. 07. 2025

This is very weird.
Do you mind pasting generateAlpha's response here?

You can follow this tutorial:
Streamable (timestamp: 0:55)

§
Posted: 14. 07. 2025

I don't know if I did it right since I use firefox but I attached the image already. Sorry for all of the trouble.

§
Posted: 14. 07. 2025

This is very weird.

Do you mind pasting generateAlpha's response here?

You can follow this tutorial:

Streamable (timestamp: 0:55)

I also tried different browsers, a new janitor account and even removing and installing it again and it still doesn't work. I have no idea what could be the problem.

VedorationAuthor
§
Posted: 14. 07. 2025

It was my fault, the script was only checking for [System note: ... ] to find the character description by looking at what comes after it and didn't include <system> ... </system>. The script should be fixed now, thank you for your patience.

§
Posted: 14. 07. 2025

It was my fault, the script was only checking for [System note: ... ] to find the character description by looking at what comes after it and didn't include <system> ... </system>. The script should be fixed now, thank you for your patience.

It works now. thank you so much! Your script is really amazing. Great work.

Post reply

Sign in to post a reply.