powderblock / DealWithItReddit

Reddit bot. Computer vision for facial detection and transformation. Python, PRAW, & OpenCV.
http://www.reddit.com/user/DealWithItbot/
MIT License
33 stars 3 forks source link

Posts can be Processed More Than Once #11

Closed powderblock closed 9 years ago

powderblock commented 9 years ago

If you stop the bot and restart it before the previous 20 posts are out of the list, it will process them again. This can be fixed with an offline "list" (text document) containing all the ids of the done posts. Put the content of posts.txt into an array at start, append the ids to the text file and the array as the program runs.