mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-06-27 02:20:24 +12:00
Log remote file urls
This commit is contained in:
parent
d5fa32303a
commit
3a6b3439b5
|
@ -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