mirror of
https://github.com/simon987/od-database.git
synced 2025-12-13 14:59:02 +00:00
Mark reddit post as crawled even if too small to comment
This commit is contained in:
2
task.py
2
task.py
@@ -65,6 +65,8 @@ class TaskManager:
|
|||||||
post = self.reddit_bot.reddit.submission(post_id)
|
post = self.reddit_bot.reddit.submission(post_id)
|
||||||
self.reddit_bot.reply(post, comment)
|
self.reddit_bot.reply(post, comment)
|
||||||
pass
|
pass
|
||||||
|
else:
|
||||||
|
self.reddit_bot.log_crawl(post_id)
|
||||||
|
|
||||||
elif comment_id:
|
elif comment_id:
|
||||||
# Reply to comment
|
# Reply to comment
|
||||||
|
|||||||
Reference in New Issue
Block a user