An easy utility to extract links from text.
Project description
url-finder
A small python module to detect all real links in a given string.
Example
import url_finder
text = """
Picking out google.com is trivial. As well as youtube.com,
and even knows what is a real tld, and what is not.a.real.top-level-domain!
"""
assert url_finder.get_urls(text) == ["https://google.com", "https://youtube.com"]
Install
pip install url-finder
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
url_finder-0.1.1.tar.gz
(8.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file url_finder-0.1.1.tar.gz.
File metadata
- Download URL: url_finder-0.1.1.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e66a5beebd006d4a9ce269c560de764f1c3aaccda3914d38eaa4ff9d4cea653d
|
|
| MD5 |
aa75c21201c65f060e8d8d3d9fa7ad83
|
|
| BLAKE2b-256 |
bf8c61a08466b19c5220983bc53370fa90a60bb091a449e0ee693bef33b47556
|
File details
Details for the file url_finder-0.1.1-py3-none-any.whl.
File metadata
- Download URL: url_finder-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dfd9e5b9a112b8a18fb531864a75991c9ceb6b1aac419966b1db1e01aadd18e
|
|
| MD5 |
8cbef3bf3e02f9ed38e993dce1cd3933
|
|
| BLAKE2b-256 |
b486d7f45ba5152fd57248868daaacdcdfa27bbc9901da40b8f3e08a8d06ded6
|