mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-09-29 08:41:29 +13:00
Log remote file urls
This commit is contained in:
parent
d5fa32303a
commit
3a6b3439b5
1 changed files with 2 additions and 0 deletions
|
@ -323,6 +323,8 @@ class FimFic2Epub extends EventEmitter {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log('Remote file URL: ' + url)
|
||||||
|
|
||||||
fetch(url, 'arraybuffer').then(async (data) => {
|
fetch(url, 'arraybuffer').then(async (data) => {
|
||||||
r.dest = null
|
r.dest = null
|
||||||
let info = await FileType.fromBuffer(isNode ? data : new Uint8Array(data))
|
let info = await FileType.fromBuffer(isNode ? data : new Uint8Array(data))
|
||||||
|
|
Loading…
Reference in a new issue