diff options
author | Russel Savage <savage.russel@gmail.com> | 2024-03-12 23:14:50 +0000 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2024-03-12 23:14:50 +0000 |
commit | a44f8f2950334ea7951e22e5d9202e6c3da01ffa (patch) | |
tree | ce7057e10307d663ea313e881254de318b00dd9f /src/subscleaner/subscleaner.py | |
parent | ddef96fdb5661c1f383106f06b56ada82665956e (diff) |
add some common ads I found
Diffstat (limited to 'src/subscleaner/subscleaner.py')
-rwxr-xr-x | src/subscleaner/subscleaner.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/subscleaner/subscleaner.py b/src/subscleaner/subscleaner.py index f79e10d..360bad2 100755 --- a/src/subscleaner/subscleaner.py +++ b/src/subscleaner/subscleaner.py @@ -63,8 +63,12 @@ AD_PATTERNS = [ re.compile(r"\bUna\s+traducci[óo]n\s+de\b", re.IGNORECASE), re.compile(r"\btvsubtitles\b", re.IGNORECASE), re.compile(r"\bTacho8\b", re.IGNORECASE), - re.compile(r"\bwww\.\S+\.com\b", re.IGNORECASE), - re.compile(r"\bwww\.\S+\.es\b", re.IGNORECASE), + re.compile(r"\b(www\.)?\S+\.(com|es|link|app|ly)\b", re.IGNORECASE), + re.compile(r"to remove all ads from", re.IGNORECASE), + re.compile(r"\bfrom 3.49 USD/month ---->\b", re.IGNORECASE), + re.compile(r"implement REST API from", re.IGNORECASE), + re.compile(r"Signup Here ->", re.IGNORECASE), + re.compile(r"Help other users to choose the best subtitles", re.IGNORECASE), ] |