Well, this-and-that happened, and I got as far as having one program that can take a list of text and extract Derpi links from it, and then a second program that can check a list of links for whether each one contains an AI-tag, spitting out another list containing all positive matches without repeats.
After that, I had intended to simply use a setInterval() of some sort that went to the sorted links and favorited them, but ran face-first into CORS. (Again, very little experience with working outside of a singular webpage at a time.)
I also have no experience with making userscripts, so I feel I’m a bit out of my depth there. I also could’ve sworn I saw a link posted somewhere between this thread and the one on Derpi that lead to a downloader that would specifically grab comments in addition to the image in question, but I straight-up can’t find the post now. Oof.