Building user posts object after fetching user to ensure user fetched posts and directly fetched posts are added to the same user key. Refactor to make better use of functions. Moved profile detail saving call to content fetch. No longer attempting and failing to save profile details for deleted users (directory would not exist).

This commit is contained in:
2024-09-11 05:16:56 +02:00
parent 5eb2eb651a
commit 952392e0d9
11 changed files with 199 additions and 157 deletions

View File

@@ -19,7 +19,7 @@ module.exports = {
index: {
file: '$base/index',
format: 'tsv',
keys: ['postId', 'postTitle', 'subreddit', 'postDate', 'url'],
keys: ['postId', 'subreddit', 'postDate', 'postTitle', 'url'],
},
booleans: {
extracted: 'extracted-',