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`).
- Update to version 0.12.4:
- Tested against Python 3.9.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=39
- 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.
.. code-block:: python
from tld import get_tld
get_tld(
'http://silly.cc.ua',
search_private=False
)
Now it would return `ua`.
.. code-block:: python
get_tld(
'http://silly.cc.ua',
search_private=False
)
If you want old behavior, do as follows:
.. code-block:: python
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`` and ``is_tld``
functions.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=37
- New
- Extended option on get event. [Raphaël Vinot]
Related to #567
- Changes
- Bump objects, deps. [Raphaël Vinot]
- Bump dependencies. [Raphaël Vinot]
- Remove old suricata script, keep reference to old code. [Raphaël
Vinot]
- Fix
- Enable autoalert on admin user. [Raphaël Vinot]
- [abstract] Forces file to be read with utf8 encoding. [mokaddem]
- Properly handle timezone in tests. [Raphaël Vinot]
- Other
- Update up.py. [Raphaël Vinot]
Fix#563
- Fixed __query_virustotal return type. [DocArmoryTech]
__query_virustotal returned a Response object and not the json expected; modified so that report_json is returned instead of report.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=31
- Adding test TLDs list to the package.
- switch back to pypi file.
- Switch to github tarball because of missing test files.
- update to version 0.11.8:
- Minor fixes in setup.py.
- update to version 0.11.7
- There have been no code changes since 0.11.2. The only change is that
support for Python 2.7 and 3.5 has been added.
- Added support for Python 2.7.
- update to version 0.11.6:
- Targeted releases for all supported Python versions.
- update to version 0.11.5:
- Targeted releases for all supported Python versions.
- update to version 0.11.4:
- Changed order of the releases (Python 3.6 and up come first, then Python 3.5).
- Make all distributions except Python 3.5 universal.
- update to version 0.11.3:
- Added missing resources to the Python 3.5 release.
- update to version 0.11.2:
- Bring back Python 3.5 support.
- update to version 0.11.1:
- Minor speed ups.
- More on adding typing.
- update to version 0.11:
- Since introduction of parser classes, usage of
``NAMES_SOURCE_URL`` and ``NAMES_LOCAL_PATH`` of the ``tld.conf``
module is deprecated. Also, ``tld_names_local_path``
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=21
- update to version 0.9.1:
* Correctly handling nested TLDs.
- update to version 0.9:
* This release contains backward incompatible changes. You should update your code.
* The active_only option has been removed from get_tld, get_fld and parse_url functions. Update your code accordingly.
* Removed active_only option from get_tld, get_fld and parse_url functions.
* Correctly handling exceptions (!) in the original TLD list.
* Fixes in documentation.
* Added parse_tld function.
* Fixes the python setup.py test command.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=7
- update to version 0.8:
- This release contains backward incompatible changes. You should update
your code.
Old `get_tld` functionality remain is moved to `get_fld` (first-level
domain definition). The `as_object` argument (False by default) has been
deprecated for `get_fld`.
Have a look at the packages' documentation and changelog for details and examples.
- Move to a Trie to match TLDs. This brings a speed up of 15-20%.
- It's now possible to search in public, private or all suffixes (old
behaviour). Use `search_public` and `search_private` arguments accordingly.
By default (to support old behavior), both are set to True.
- Correct TLD definitions.
- Domains like `*****.xn--fiqs8s` are now recognized as well.
- Due to usage of `urlsplit` instead of `urlparse`, the initial list of TLDs
is assembled quicker (a speed-up of 15-20%).
- Docs/ directory is included in source distribution tarball.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=6