From 8b85ec219dd4ab209871b73bff8179c2e0b62762 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Wed, 11 Sep 2024 05:16:57 +0200 Subject: [PATCH] Removed debug log. Updated README to mention imgur API key requirement. --- README.md | 2 +- src/fetch/info.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 9f60125..9ad4be8 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Most features are optional and can easily be disabled! ### Supported hosts * Reddit text/self, images and videos[\*](#reddit-videos) -* Imgur +* Imgur (requires API key as of late 2019) * Gfycat * Eroshare archive diff --git a/src/fetch/info.js b/src/fetch/info.js index 7a8caf3..c28bbfd 100644 --- a/src/fetch/info.js +++ b/src/fetch/info.js @@ -19,7 +19,6 @@ const attachContentInfo = users => Promise.reduce(Object.values(users), async (a return [...accPosts, { ...post, content: await methods[post.host.method](post) }]; } catch (error) { console.log('\x1b[31m%s\x1b[0m', `${error} (${post.permalink})`); - console.log(error); if (config.fetch.archives.preview && post.preview) { console.log(`Found preview images for unavailable source '${post.url}' (${post.permalink})`);