36 lines
1.1 KiB
JavaScript
36 lines
1.1 KiB
JavaScript
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,
|
|
image: 'output/$postUser/$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext',
|
|
video: 'output/$postUser/$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext'
|
|
},
|
|
dateFormat: 'YYYYMMDD',
|
|
titleLength: 200,
|
|
indexOffset: 1,
|
|
slashSubstitute: '#',
|
|
extractedLabel: 'extracted-'
|
|
},
|
|
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'
|
|
}
|
|
}
|
|
};
|