React Get Query String Python Replace Function