Added filepath component length limit with truncator. Fixed double extension dot when copying original extension. Moved API keys to local config.

This commit is contained in:
2024-09-11 05:16:55 +02:00
parent 80564cff19
commit be7bc1b10d
4 changed files with 20 additions and 11 deletions

View File

@@ -26,8 +26,10 @@ module.exports = {
comment: '$itemDescription'
},
dateFormat: 'YYYYMMDD',
filenameLimit: 250,
truncator: '...',
truncate: {
limit: 250,
truncator: '...'
},
indexOffset: 1,
slashSubstitute: '#',
},
@@ -45,18 +47,18 @@ module.exports = {
},
reddit: {
api: {
userAgent: 'wat',
clientId: 'VPquALMpTGl3ag',
access_token: 'xxxW9FDeaOIeHwsOvTkE4YLo_Fk',
userAgent: 'reddit-post-dump',
clientId: '1234567abcdefg',
access_token: 'abcD123eFg45Hi6J7klmnop8qr9',
token_type: 'bearer',
expires_in: 3600,
refresh_token: '8427871-D-Hb-m8WAazo2hBP-0iCPcUSPLM',
refresh_token: '1234567-A-Bc-defg8912hij-klm345opqr',
scope: 'history identity mysubreddits read subscribe'
}
},
methods: {
imgur: {
clientId: '455ceaa737dbac0'
clientId: '1234567abcdefgh'
}
}
};