From 9cde1ce31a2b751eb9a82005c088de1103d98dcc Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Wed, 11 Sep 2024 05:16:53 +0200 Subject: [PATCH] Added default config to repository. --- .gitignore | 2 +- config/default.js | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 config/default.js 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' + } + } +};