Sonarr/Radarr-autodl-irssi script

Is it possible to make this script work with a local sonarr/radarr install, rather than the one on the seedbox?

EDIT: All done via reverse proxy.