Added support for reddit preview fallback.

This commit is contained in:
2024-09-11 05:16:54 +02:00
parent 1ae51b18f8
commit 7f00e5b6b2
8 changed files with 69 additions and 17 deletions

View File

@@ -1,12 +1,12 @@
module.exports = {
library: {
base: 'output/$user/',
image: '$base$postDate - $itemId - $postTitle$ext',
video: '$base$postDate - $itemId - $postTitle$ext',
text: '$base$postDate - $postId - $postTitle',
image: '$base$postDate - $preview$itemId - $postTitle$ext',
video: '$base$postDate - $preview$itemId - $postTitle$ext',
text: '$base$postDate - $preview$postId - $postTitle',
album: {
image: '$base$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext',
video: '$base$postDate - $albumId - $postTitle/$itemIndex - $itemId$ext',
image: '$base$postDate - $preview$albumId - $postTitle/$itemIndex - $itemId$ext',
video: '$base$postDate - $preview$albumId - $postTitle/$itemIndex - $itemId$ext',
extractSingleItem: true
},
profile: {
@@ -16,6 +16,7 @@ module.exports = {
},
booleans: {
extracted: 'extracted-',
preview: 'preview-',
verified: '✔',
verifiedEmail: '✉',
gold: '★',
@@ -35,6 +36,7 @@ module.exports = {
avoidDuplicates: true,
archives: {
search: false,
preview: true,
reddit: ['ip'],
reupload: []
}