Skip to content

Wrapper class for extracting domain.

Notifications You must be signed in to change notification settings

dealroom/data-urlextract

Repository files navigation

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.

About

Wrapper class for extracting domain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published