mirror of
https://github.com/simon987/od-database.git
synced 2025-12-14 07:09:03 +00:00
Minor adjustments
This commit is contained in:
@@ -43,9 +43,9 @@ class RedditBot:
|
||||
try:
|
||||
# Double check has_crawled
|
||||
if not self.has_crawled(reddit_obj.id):
|
||||
# reddit_obj.reply(comment)
|
||||
print("Skipping comment " + comment)
|
||||
reddit_obj.reply(comment)
|
||||
self.log_crawl(reddit_obj.id)
|
||||
print("Reply to " + reddit_obj.id)
|
||||
break
|
||||
except Exception as e:
|
||||
print("Waiting 5 minutes: " + str(e))
|
||||
|
||||
Reference in New Issue
Block a user