diff --git a/src/plugins/privacy/plugin.py b/src/plugins/privacy/plugin.py index c760d9b6f..a180c57a2 100644 --- a/src/plugins/privacy/plugin.py +++ b/src/plugins/privacy/plugin.py @@ -467,7 +467,7 @@ class PrivacyPlugin(BasePlugin[PrivacyConfig]): # Replace callback def replace(match: Match): - value = match.group(1) + value = match.group("url") # Map URL to canonical path path = self._path_from_url(urlparse(value))