2024-09-11 03:16:53 +00:00
|
|
|
module.exports = {
|
2024-09-11 03:16:53 +00:00
|
|
|
library: {
|
|
|
|
base: 'output/$user/',
|
|
|
|
image: '$postDate - $itemId - $postTitle$ext',
|
|
|
|
video: '$postDate - $itemId - $postTitle$ext',
|
|
|
|
text: '$postDate - $postId - $postTitle',
|
2024-09-11 03:16:53 +00:00
|
|
|
album: {
|
2024-09-11 03:16:53 +00:00
|
|
|
extractSingleItem: true,
|
2024-09-11 03:16:53 +00:00
|
|
|
image: '$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext',
|
|
|
|
video: '$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext'
|
|
|
|
},
|
|
|
|
profile: {
|
2024-09-11 03:16:53 +00:00
|
|
|
image: '$userCreated - profile$ext',
|
|
|
|
description: '$userCreated - profile ($userVerified$userVerifiedEmail$userGold$profileOver18)'
|
2024-09-11 03:16:53 +00:00
|
|
|
},
|
|
|
|
booleans: {
|
|
|
|
extracted: 'extracted-',
|
|
|
|
verified: '✔',
|
|
|
|
verifiedEmail: '✉',
|
|
|
|
gold: '★',
|
|
|
|
over18: '♥'
|
2024-09-11 03:16:53 +00:00
|
|
|
},
|
2024-09-11 03:16:53 +00:00
|
|
|
dateFormat: 'YYYYMMDD',
|
2024-09-11 03:16:53 +00:00
|
|
|
titleLength: 200,
|
|
|
|
indexOffset: 1,
|
2024-09-11 03:16:53 +00:00
|
|
|
slashSubstitute: '#',
|
2024-09-11 03:16:53 +00:00
|
|
|
},
|
2024-09-11 03:16:53 +00:00
|
|
|
fetch: {
|
2024-09-11 03:16:53 +00:00
|
|
|
sort: 'top',
|
|
|
|
limit: 1000,
|
2024-09-11 03:16:53 +00:00
|
|
|
ignoreDuplicates: true
|
|
|
|
},
|
|
|
|
reddit: {
|
2024-09-11 03:16:53 +00:00
|
|
|
api: {
|
|
|
|
userAgent: 'wat',
|
|
|
|
clientId: 'VPquALMpTGl3ag',
|
|
|
|
access_token: 'xxxW9FDeaOIeHwsOvTkE4YLo_Fk',
|
|
|
|
token_type: 'bearer',
|
|
|
|
expires_in: 3600,
|
|
|
|
refresh_token: '8427871-D-Hb-m8WAazo2hBP-0iCPcUSPLM',
|
|
|
|
scope: 'history identity mysubreddits read subscribe'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
imgur: {
|
|
|
|
clientId: '455ceaa737dbac0'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|