Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add visit my channel to bad keyword with a link #4134

Merged
merged 1 commit into from
Jun 30, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion findspam.py
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ def keyword_link(s, site): # thanking keyword and a link in the same short ans
thanks = regex.compile(r"(?i)\b(appreciate|than(k|ks|x)|gratidão)\b").search(s)
keyword = regex.compile(r"(?i)\b(I really appreciate|many thanks|thanks a lot|thank you (very|for)|"
r"than(ks|x) for (sharing|this|your)|dear forum members|(very (informative|useful)|"
r"stumbled upon (your|this)|wonderful|visit my) (blog|site|website))\b").search(s)
r"stumbled upon (your|this)|wonderful|visit my) (blog|site|website|channel))\b").search(s)
if link and keyword:
return True, u"Keyword *{}* with link {}".format(keyword.group(0), link.group(0))
if link and thanks and praise:
Expand Down