add functionality for Perry::fromUrl()