From a527d6116b82dbf091461394778a05ec0a675a1b Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 15 Aug 2018 19:46:18 -0400 Subject: [PATCH] Fix depibooru URLs --- commands/search/derpibooru.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/derpibooru.js b/commands/search/derpibooru.js index e95f551c..7235b655 100644 --- a/commands/search/derpibooru.js +++ b/commands/search/derpibooru.js @@ -44,6 +44,6 @@ module.exports = class DerpibooruCommand extends Command { async fetchImage(id) { const { body } = await request.get(`https://derpibooru.org/images/${id}.json`); - return `${body.representations.full}`; + return `http:${body.representations.full}`; } };