url-parts - Extract specified parts from URLs given in input stream


NAME

url-parts - Extract specified parts from URLs given in input stream


SYNOPSIS

echo <URL> | url-parts <PART> [<PART> [<PART> [...]]]


DESCRIPTION

Supported parts: fragment, hostname, netloc, password, path, port, query, scheme, username, and query.NAME for the query parameter NAME, and query.NAME.N for Nth element of the array parameter NAME.

Run url-parts --help for the definitive list of URL part names supported by the python urlparse module installed on your system.

 url-parts - Extract specified parts from URLs given in input stream