mirror of
https://github.com/simon987/od-database.git
synced 2025-04-19 18:36:44 +00:00
Mark reddit post as crawled even if too small to comment
This commit is contained in:
parent
a69b7b305c
commit
4b1fce309c
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user