Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 454 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 454 Bytes

urlextract

Wrapper for extracting only wanted parts from urls.

Install

pip: pip install git+https://github.com/dealroom/data-urlextract@main

Poetry: poetry add "git+https://github.com/dealroom/data-urlextract#main"

Usage

>>> from dealroom_urlextract import extract

>>> extract('http://www.something.com/home.html?abc')
something.com

Notes

Based on tldextract.