better way to get url

@mapix