use url.pathname