generated from MarshalX/bluesky-feed-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
An archived post is one whose creation date is at least 24 hours before the actual publish date shown in clients. Usually those kinds of posts are imported from another social media site such as π/Twitter and Mastodon. SkyFeed (used by many user created feeds including @\aither.bsky.social's LoveLive! feed) filters them out anyway, also their presence adds a bit more workload to remove false positives based on their content. To make sure false positives (usually those posted directly to Bluesky) aren't left out especially after being disconnected from the firehose for long enough, we compare the post creation date against the commit timestamp given by the firehose instead of the current time. Inspired by MarshalX/bluesky-feed-generator#21 Also move the porn label check to its own function and add comments explaining what each key-value pair in record create dict represents.
- Loading branch information
Showing
2 changed files
with
48 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters