Refactored post fetching. Cleaner code that will now fetch archived posts even if the user no longer exists on reddit. Expanded gfycat URL detection.

This commit is contained in:
2024-09-11 05:16:55 +02:00
parent e0ca4a0822
commit c2cf26dde6
7 changed files with 49 additions and 42 deletions
+2 -1
View File
@@ -31,5 +31,6 @@ module.exports = yargs.command('npm start -- --user <username>').option('users',
type: 'array'
}).option('archives', {
describe: 'Search archives for deleted posts',
type: 'boolean'
type: 'boolean',
default: config.fetch.archives.search
}).argv;