예제 #1
0
파일: tasks.py 프로젝트: qij3/NewsBlur
    def run(self, **kwargs):
        logging.debug(" ---> Finding spammers...")
        _, spammer_user_ids =  MSharedStory.count_potential_spammers()
        logging.debug(" ---> Found %s spammers, deleting..." % len(spammer_user_ids))
        for user_id in spammer_user_ids:
            user = User.objects.get(pk=user_id)
            user.profile.delete_user(confirm=True, fast=True)

        logging.debug(" ---> Sharing popular stories...")
        MSharedStory.share_popular_stories(interactive=False)
예제 #2
0
파일: tasks.py 프로젝트: BILIHUBSU/NewsBlur
    def run(self, **kwargs):
        logging.debug(" ---> Finding spammers...")
        MSharedStory.count_potential_spammers(destroy=True)

        logging.debug(" ---> Sharing popular stories...")
        MSharedStory.share_popular_stories(interactive=False)
예제 #3
0
def CleanSocialSpam():
    logging.debug(" ---> Finding social spammers...")
    MSharedStory.count_potential_spammers(destroy=True)
예제 #4
0
파일: tasks.py 프로젝트: melody40/monorepo
 def run(self, **kwargs):
     logging.debug(" ---> Finding social spammers...")
     MSharedStory.count_potential_spammers(destroy=True)
예제 #5
0
파일: tasks.py 프로젝트: zby1234/NewsBlur
    def run(self, **kwargs):
        logging.debug(" ---> Finding spammers...")
        MSharedStory.count_potential_spammers(destroy=True)

        logging.debug(" ---> Sharing popular stories...")
        MSharedStory.share_popular_stories(interactive=False)