You can take that a step further and integrate it with Jackett: https://github.com/Jackett/Jackett