Factored out dpaste url and updated to the newer? api