blog.tedivm.com
urlparser – a simple python program for extracting info from URLs
I regularly run into the need to use part of a URL inside of shell scripts- such as extracting the hostname and port from a URL in order to check if the service is reachable- and got a bit tired of…