Thanks to visit codestin.com
Credit goes to github.com

Skip to content

pyClean uses bad_subject checking only on Dizum posts #15

@jrehmer

Description

@jrehmer

I don't know if this was an oversight meant to be more of a local preference, but it seems wrong that the bad_subject filter is targeting only posts from Dizum. It's a very useful filter for various types of common spam and limiting it to posts originating from Dizum seems rather silly to me. I didn't realize the targeting until I was troubleshooting why a bunch of spam was getting through that I knew shouldn't be based on my bad_subject entries.

# Bad subject checking (Currently only on Dizum posts).
        if dizum and 'bad_subject' in self.etc_re and not gph:

I changed mine to:

# Bad subject checking.
        if 'bad_subject' in self.etc_re and not gph:

Might be helpful to others to make that change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions