Add files via upload

This commit is contained in:
Imre Eilertsen
2025-01-07 07:34:59 +01:00
committed by GitHub
parent a49ffdd7b7
commit cdc41a66ab
2 changed files with 14 additions and 1 deletions
@@ -6277,7 +6277,7 @@ nytid.no,tipsbladet.no#@#div.td-a-rec img
! Title: Adblock List for Finland
! Description: Finnish adblock list
! Expires: 4 days
! Last modified: Sun, 29 Dec 2024 12:52:19 +0000
! Last modified: Mon, 06 Jan 2025 23:54:20 +0000
! Finnish section's homepage: https://github.com/finnish-easylist-addition/finnish-easylist-addition
! License: https://unlicense.org/
! Raportoi mainoksenestoon liittyvistä ongelmista tai estämättömistä mainoksista täällä / Please report adblocking related issues or unblocked ads at:
@@ -7349,6 +7349,7 @@ tori.fi##div#banner_panorama_topmost
tori.fi##div#panorama_top
tori.fi##div#panorama_topmost
traktorpool.fi##.billboard
treykalenteri.fi##.promotion-image
ts.fi##[class="tsv3-c-common-article__contentad notloaded"]
ts.fi##[data-readpeakurl^="https://app.readpeak.com/ads/"]
ts.fi##div[class*="tsv3-c-common-smart noad-hideaction"]
@@ -7036,6 +7036,18 @@ def prepare_domains(lines) -> str:
line
)
line = re.sub(
r"^.*\$(ipaddress|network).*$",
r"",
line
)
line = re.sub(
r"^[a-z0-9].*\.$",
r"",
line
)
if is_supported_domains(line) and not line == '':
text += line + '\n'