source-nerd / twitter-scraper

Python based twitter scraper
MIT License
6 stars 1 forks source link

Update cssselect to 1.2.0 #233

Open pyup-bot opened 2 years ago

pyup-bot commented 2 years ago

This PR updates cssselect from 1.0.3 to 1.2.0.

Changelog ### 1.2.0 ``` ------------- Released on 2022-10-27. * Drop support for Python 2.7, 3.4-3.6, add support for Python 3.7-3.11. * Add type annotations (PEP 484 and PEP 561). * More features from the CSS Selectors Level 4: * The ``:is()`` pseudo-class. * The ``:where()`` pseudo-class. * The ``:has()`` pseudo-class, with some limitations. * Fix parsing ``:scope`` after a comma. * Add parentheses to fix condition precedence in some cases. * Private API changes related to the removal of the Python 2 support: * Remove ``_unicode`` and ``_unichr`` aliases from ``csselect.parser``. * Remove ``_basestring`` and ``_unicode`` aliases from ``csselect.xpath``. * Deprecate ``csselect.xpath._unicode_safe_getattr()`` and change it to just call ``getattr()``. * Include tests in the PyPI tarball. * Many CI additions and improvements. * Improve the test coverage. ``` ### 1.1.0 ``` ------------- Released on 2019-08-09. * Support for the ``:scope`` selector, which allows to access immediate children of a selector. * Support for the ``|E`` syntax for type selectors without a namespace. * A new selector method, ``canonical``, returns the CSS expression of the selector, as a string. ```
Links - PyPI: https://pypi.org/project/cssselect - Changelog: https://pyup.io/changelogs/cssselect/ - Repo: https://github.com/scrapy/cssselect - Docs: https://pythonhosted.org/cssselect/