mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-11-19 18:06:32 +00:00
Fix https://github.com/DandelionSprout/adfilt/commit/9dfcd0c3d3bb5a880a4c473c0b9ad5579e963a3f#r62388808
This commit is contained in:
1 parent
19ccd9e4af
commit
0263a4fc02
1 file changed
+1
@@ -86,6 +86,7 @@ def normalize_url_pattern(url_pattern: str) -> str:
|
||||
url_pattern = url_pattern.replace("(?:accounts.)?", "", 1)
|
||||
url_pattern = url_pattern.replace("(?:support.)?", "", 1)
|
||||
url_pattern = url_pattern.replace("(?:yandex.*|ya.ru)", "yandex.*", 1)
|
||||
url_pattern = url_pattern.replace("weibo.(cn|com)", "weibo.*", 1) #https://github.com/DandelionSprout/adfilt/commit/9dfcd0c3d3bb5a880a4c473c0b9ad5579e963a3f#r62388808
|
||||
|
||||
return url_pattern
|
||||
|
||||
|
||||
Reference in new issue
Block a user