Add python script to get domain from full URL

This then gets passed to the backup script in the Jenkins job.