ripunzel/config/default.js

36 lines
1.1 KiB
JavaScript
Raw Normal View History

2018-04-18 00:46:12 +00:00
module.exports = {
patterns: {
image: 'output/$postUser/$postDate - $itemId - $postTitle$ext',
video: 'output/$postUser/$postDate - $itemId - $postTitle$ext',
text: 'output/$postUser/$postDate - $postId - $postTitle',
album: {
extractSingleItem: true,
2018-04-18 00:46:12 +00:00
image: 'output/$postUser/$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext',
video: 'output/$postUser/$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext'
},
dateFormat: 'YYYYMMDD',
2018-04-18 00:46:12 +00:00
titleLength: 200,
indexOffset: 1,
slashSubstitute: '#',
extractedLabel: 'extracted-'
2018-04-18 00:46:12 +00:00
},
reddit: {
sort: 'top',
limit: 1000,
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'
}
}
};