Skip to content

Overload `urllib.parse.ParseResult` to be able to use operators like / and & on it.

License

Notifications You must be signed in to change notification settings

nanassito/urllib_ext

Repository files navigation

urllib.parse.ParseResult

Overload urllib.parse.ParseResult to be able to use operators like / and & on it.

Usage

from urllib_ext.parse import urlparse

urlparse("http://domain.tld/foo") / "bar" == urlparse("http://domain.tld/foo/bar")

About

Overload `urllib.parse.ParseResult` to be able to use operators like / and & on it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages