Python script to download subtitle to be executed by deluge when a torrent completes