def proccessComments():
for comment in reddit.redditor(str(reddit.user.me())).comments.new(limit=None):
#if comment score is below the threshold, delete it
if comment.score < deleteThreshold:
comment.delete()
permalink = "http://www.reddit.com" + \
comment.permalink() + "/"
print("Deleting comment: " + permalink)
logging.info(time.strftime("%Y/%m/%d %H:%M:%S ") +
"Deleting comment: " + permalink)
评论列表
文章目录