Skip to content

Version 0.4.3

Compare
Choose a tag to compare
@Mr0grog Mr0grog released this 26 Sep 16:56
· 25 commits to main since this release
edd08e8

This is mainly a compatibility release: it adds support for urllib3 v2.x and the next upcoming major release of Python, v3.12.0. It also adds support for multiple filters in searches. There are no breaking changes.

Features

You can now apply multiple filters to a search by using a list or tuple for the filter_field parameter of WaybackClient.search. Previously, you could only supply a string with a single filter. (#119)

For example, to search for all captures at nasa.gov with a 404 status code and “feature” somewhere in the URL:

client.search('nasa.gov/',
              match_type='prefix',
              filter_field=['statuscode:404',
                            'urlkey:.*feature.*'])

Fixes & Maintenance

  • Add support for Python 3.12.0. (#123)
  • Add support for urllib3 v2.x (urllib3 v1.20+ also still works). (#116)