#General
5 hours ago

Made a way to export your aniwatch.tv list

I wanted my list to be saved in Anilist so with claude help i was able to make a script that scraps each list in aniwatch.tv then turns them into json lists and then it will get the myanimelist id of that anime based on titles inside the json files so it can make the xml lists, it will quickly give u a json zip file then start scanning the anime ids for xml zip file. The scan process will take a while especially if you have a lot of animes.


First go to your profile and then select watch list.
Then open inspect element by writing clicking on your mouse or using keyboard control+shift+i.

Go to console on the button u will paste the script, fyi when u try to paste for the first time it might ask u to write something like "allow paste" for security reasons.

after u paste the script will run. You will receive the json list quickly and it will start searching ids for xml file, occusinally it will take a while to fetch the next anime id so don't assune it stopped.
Also there is a chance every once a while u will hit a rate limit, when that happens the script will wait 62 seconds and it will continue normally

There is also 3 commands

Stop - pauses
continue - no need to explain
get_new_info — downloads a partial XML zip of whichever lists are done, then a second call gives you only the ones you haven't received yet

Also because its searching based on title there may be some inaccuracy.

Also a list may become folder that contains two files, one being success search and the other being failed search.

if u want to import it to Anilist i recommend first importing it in myanimelist then exporting it.

for reference i tested this in firefox and windows 11.

The script is in this link just copy it, can't paste it here because of text limits
https://pastebin.com/3Pcripzv