Got this idea from a Reddit comment on r/AyyMD. Go figure. Very simple Python code, using the PRAW library and some regex fun-ness. Only intended to be built and run once.
The libraries used are PRAW and dotenv. The Reddit API details (client ID etc) are stored in a .env file in order to make deployment smoother (and also make sure I don't god damn accidentally upload them to this repo).