Javascript Create Url With Query String In Python