Just edit the python script and point it to a mirror (if exists) or set your own mirror and point it to localhost.