Case site url to string for pycurl