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

This commit is contained in:
2018-04-23 01:50:07 +02:00
parent dc3f3c8440
commit c66c011ff4
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',