Flow and modularization refactor. Added duplicates option and applying limit after fetch.

This commit is contained in:
2024-09-11 05:16:53 +02:00
parent 1b0bd3a5a4
commit df3421639f
13 changed files with 141 additions and 119 deletions

View File

@@ -10,8 +10,8 @@ module.exports = {
video: '$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext'
},
profile: {
image: 'profile$ext',
description: 'profile ($userVerified$userVerifiedEmail$userGold)'
image: '$userCreated - profile$ext',
description: '$userCreated - profile ($userVerified$userVerifiedEmail$userGold$profileOver18)'
},
booleans: {
extracted: 'extracted-',
@@ -25,9 +25,12 @@ module.exports = {
indexOffset: 1,
slashSubstitute: '#',
},
reddit: {
fetch: {
sort: 'top',
limit: 1000,
ignoreDuplicates: true
},
reddit: {
api: {
userAgent: 'wat',
clientId: 'VPquALMpTGl3ag',