#!/usr/bin/env bash # Put this on the remote machine. This will be run over SSH to download the latest episode automatically. cd /home/remoteexampleuser/autosnatch # Replace this with the directory where you put the autosnatch files on the remote machine source venv/bin/activate python -m scripts.dl $1 latest