Browse Source

Removed third-parties from easyprivacy

tags/v1.5
Geoffrey Frogeye 2 months ago
parent
commit
1c20963ffd
Signed by: geoffrey <geoffrey@frogeye.fr> GPG Key ID: D8A7ECA00A8CD3DD
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      adblock_to_domain_list.py

+ 2
- 3
adblock_to_domain_list.py View File

@@ -14,9 +14,8 @@ import abp.filters


def get_domains(rule: abp.filters.parser.Filter) -> typing.Iterable[str]:
for key, val in rule.options:
if key not in ('third-party',):
return
if rule.options:
return
selector_type = rule.selector['type']
selector_value = rule.selector['value']
if selector_type == 'url-pattern' \


Loading…
Cancel
Save