urld
URL descomposer to extract parts of url. It accepts urls by stdin and displays the parts in stdout.
Installation
From pypi:
pip install urld
Usage
By default, it splits the urls in their different parts:
$ echo "https://www.gitlab.com/Zer1t0?test=a#hey" | urld
https www.gitlab.com /Zer1t0 test=a hey
But can also specify the parts you would like to retrieve:
$ echo "https://www.gitlab.com/index.html" | urld -f host
www.gitlab.com
$ echo "https://www.gitlab.com/index.html" | urld -f protocol path
https /index.html
$ echo "https://www.gitlab.com/index.html" | urld -f extension
.html
$ echo "https://www.gitlab.com/?foo=bar" | urld -p foo
bar
Release files for urld 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| urld-0.1.2.tar.gz | 15.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| urld-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.9 kB
Release files / urld-0.1.2.tar.gz
| Download URL | urld-0.1.2.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
175cc873458cc4a77c502a2aff6cd5bf0bb1c48510f9cc7279da3771e1bcfadd
|
|
BLAKE2b-256 checksum How to use checksums |
7924055c56f0a207fc0684f75f7d9ffa536fd14ba5d109a8ec3605054651b57e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / urld-0.1.2-py3-none-any.whl
| Download URL | urld-0.1.2-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10b3929448034d0ccc68d14cc83da1c26e312cc0fa9d9edbae2089d3bcb56068
|
|
BLAKE2b-256 checksum How to use checksums |
248c142d686a738128645779132df4e629a10a6341c5d133d3bb5a8bcb09fb14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|