Releases: barseghyanartur/tld
Releases · barseghyanartur/tld
0.13
0.12.7-2023-02-02
- Make sure to fail silently on bad URL patterns.
- Tested against Python 3.11.
- Tested against Python 3.10.
- Updated bundled tld names.
0.12.6-2021-06-05
- Move
Registry
class fromtld.registry
totld.base
. - Reformat code using
black
. - Log information on updated resources of the
update_tld_names
.
0.12.5-2021-01-11
Release dedicated to defenders of Armenia and Artsakh (Nagorno Karabakh)
and all the victims of Turkish and Azerbaijani aggression.
- Fixed lower-cased
parsed_url
attributes (SplitResult
) when getting
tld as object (as_object=True
).
0.12.4-2021-01-02
- Tested against Python 3.9.
0.12.3-2020-11-26
-
Separate parsers for (a) public and private and (b) public only domains. This
fixes a bug. If you want an old behaviour:The following code would raise exception in past.
from tld import get_tld get_tld( 'http://silly.cc.ua', search_private=False )
Now it would return
ua
.get_tld( 'http://silly.cc.ua', search_private=False )
If you want old behavior, do as follows:
from tld.utils import MozillaTLDSourceParser get_tld( 'http://silly.cc.ua', search_private=False, parser_class=MozillaTLDSourceParser )
Same goes for
get_fld
,process_url
,parse_tld
andis_tld
functions.
0.12.2-2020-05-20
- Add Mozilla license to dist.
- Fix MyPy issues.
0.12.1-2020-04-25
.. note::
In commemoration of `Armenian Genocide <https://en.wikipedia.org/wiki/Armenian_Genocide>`_.
- Correctly handling domain names ending with dot(s).
0.12-2020-04-19
- Use Public Suffix list instead of deprecated Mozilla's MXR.
0.11.11-2020-03-10
- Minor speed-ups, reduce memory usage.