From 3a6b3439b5e7e23c5c777d4dc863e6b05de2cac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20J=C3=B6nsson?= Date: Mon, 10 Aug 2020 10:02:17 +0200 Subject: [PATCH] Log remote file urls --- src/FimFic2Epub.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/FimFic2Epub.js b/src/FimFic2Epub.js index 0a9f2a4..995a4ba 100644 --- a/src/FimFic2Epub.js +++ b/src/FimFic2Epub.js @@ -323,6 +323,8 @@ class FimFic2Epub extends EventEmitter { return } + console.log('Remote file URL: ' + url) + fetch(url, 'arraybuffer').then(async (data) => { r.dest = null let info = await FileType.fromBuffer(isNode ? data : new Uint8Array(data))