Refactoring flow. Added user and profile saving and variables.

This commit is contained in:
2024-09-11 05:16:53 +02:00
parent 7bc027da6b
commit 1b0bd3a5a4
9 changed files with 227 additions and 91 deletions

View File

@@ -1,18 +1,29 @@
module.exports = {
patterns: {
image: 'output/$postUser/$postDate - $itemId - $postTitle$ext',
video: 'output/$postUser/$postDate - $itemId - $postTitle$ext',
text: 'output/$postUser/$postDate - $postId - $postTitle',
library: {
base: 'output/$user/',
image: '$postDate - $itemId - $postTitle$ext',
video: '$postDate - $itemId - $postTitle$ext',
text: '$postDate - $postId - $postTitle',
album: {
extractSingleItem: true,
image: 'output/$postUser/$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext',
video: 'output/$postUser/$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext'
image: '$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext',
video: '$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext'
},
profile: {
image: 'profile$ext',
description: 'profile ($userVerified$userVerifiedEmail$userGold)'
},
booleans: {
extracted: 'extracted-',
verified: '✔',
verifiedEmail: '✉',
gold: '★',
over18: '♥'
},
dateFormat: 'YYYYMMDD',
titleLength: 200,
indexOffset: 1,
slashSubstitute: '#',
extractedLabel: 'extracted-'
},
reddit: {
sort: 'top',