Why not just setup radarr? This will also automatically download the movie for you as soon as your desired quality hits your preferred trackers. It’s like a 15min procedure to get it running and then you can just search directly from radarr and add things from there, and it will just monitor for you.
BuT tHe CoDE iS seLFeXplaNAtoRy!!