366 B
366 B
unpaywall
This is a Stacker News bot that fetches every minute all recent posts.
If a post is a twitter link, it adds a comment with nitter links and stores the comment + item id in a sqlite3 database.
If the post already has a comment from the bot (by checking the database), it does not post a comment to prevent duplicates.