ripunzel/config/default.js

54 lines
1.6 KiB
JavaScript
Raw Normal View History

2018-04-18 00:46:12 +00:00
module.exports = {
library: {
base: 'output/$user/',
2018-04-24 20:25:36 +00:00
image: '$base$postDate - $itemId - $postTitle$ext',
video: '$base$postDate - $itemId - $postTitle$ext',
text: '$base$postDate - $postId - $postTitle',
2018-04-18 00:46:12 +00:00
album: {
2018-04-24 20:25:36 +00:00
image: '$base$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext',
video: '$base$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext',
extractSingleItem: true
},
profile: {
2018-04-24 20:25:36 +00:00
image: '$base$userCreated - profile$ext',
description: '$base$userCreated - profile ($userVerified$userVerifiedEmail$userGold$profileOver18)',
avoidAvatar: true
},
booleans: {
extracted: 'extracted-',
verified: '✔',
verifiedEmail: '✉',
gold: '★',
over18: '♥'
2018-04-18 00:46:12 +00:00
},
2018-04-24 20:25:36 +00:00
meta: {
comment: '$itemDescription'
},
dateFormat: 'YYYYMMDD',
2018-04-18 00:46:12 +00:00
titleLength: 200,
indexOffset: 1,
slashSubstitute: '#',
2018-04-18 00:46:12 +00:00
},
fetch: {
sort: 'new',
2018-04-18 00:46:12 +00:00
limit: 1000,
avoidDuplicates: true
},
reddit: {
2018-04-18 00:46:12 +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'
}
}
};