Removed debug log. Updated README to mention imgur API key requirement.
This commit is contained in:
parent
da90b832a1
commit
8b85ec219d
|
@ -13,7 +13,7 @@ Most features are optional and can easily be disabled!
|
||||||
|
|
||||||
### Supported hosts
|
### Supported hosts
|
||||||
* Reddit text/self, images and videos[\*](#reddit-videos)
|
* Reddit text/self, images and videos[\*](#reddit-videos)
|
||||||
* Imgur
|
* Imgur (requires API key as of late 2019)
|
||||||
* Gfycat
|
* Gfycat
|
||||||
* Eroshare archive
|
* Eroshare archive
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,6 @@ const attachContentInfo = users => Promise.reduce(Object.values(users), async (a
|
||||||
return [...accPosts, { ...post, content: await methods[post.host.method](post) }];
|
return [...accPosts, { ...post, content: await methods[post.host.method](post) }];
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('\x1b[31m%s\x1b[0m', `${error} (${post.permalink})`);
|
console.log('\x1b[31m%s\x1b[0m', `${error} (${post.permalink})`);
|
||||||
console.log(error);
|
|
||||||
|
|
||||||
if (config.fetch.archives.preview && post.preview) {
|
if (config.fetch.archives.preview && post.preview) {
|
||||||
console.log(`Found preview images for unavailable source '${post.url}' (${post.permalink})`);
|
console.log(`Found preview images for unavailable source '${post.url}' (${post.permalink})`);
|
||||||
|
|
Loading…
Reference in New Issue