diff --git a/.gitignore b/.gitignore index 13c8d29..7e8df5b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ node_modules/ config/*.js -!config/example.js +!config/default.js output/ diff --git a/config/default.js b/config/default.js new file mode 100644 index 0000000..1587229 --- /dev/null +++ b/config/default.js @@ -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' + } + } +};