Use case
I have some url with different port like http://a.com:8080/,http://a.com:8081/. and I want get a.com:8080 a.com:8081.
Describe the solution you'd like
select netloc('http://a.com:8080') -> a.com:8080
select netloc('http://b.com:8080') -> a.com:8081
Describe alternatives you've considered
Look like this is no good way to do is now
Additional context
python urllib moule support this:

Use case
I have some url with different port like
http://a.com:8080/,http://a.com:8081/. and I want geta.com:8080a.com:8081.Describe the solution you'd like
select netloc('http://a.com:8080') -> a.com:8080
select netloc('http://b.com:8080') -> a.com:8081
Describe alternatives you've considered
Look like this is no good way to do is now
Additional context

python urllib moule support this: