fork download
  1. from urllib.parse import urlparse
  2.  
  3. url = "https://localhost/products/search/camisetas;tamanho=M/calças;tamanho=40"
  4.  
  5. print(urlparse(url))
Success #stdin #stdout 0.03s 28088KB
stdin
Standard input is empty
stdout
ParseResult(scheme='https', netloc='localhost', path='/products/search/camisetas;tamanho=M/calças', params='tamanho=40', query='', fragment='')