Added default config to repository.

This commit is contained in:
ThePendulum 2018-04-18 02:46:12 +02:00
parent 9726c2c855
commit afbd07bd1e
2 changed files with 37 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
node_modules/
config/*.js
!config/example.js
!config/default.js
output/

36
config/default.js Normal file
View File

@ -0,0 +1,36 @@
module.exports = {
patterns: {
image: 'output/$postUser/$postDate - $itemId - $postTitle$ext',
video: 'output/$postUser/$postDate - $itemId - $postTitle$ext',
text: 'output/$postUser/$postDate - $postId - $postTitle',
album: {
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: '#'
},
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'
},
gfycat: {
key: '2_oOveHD'
}
}
};