From a582479da43a10ac41bf4bd6b9a1e112e62c0c8c Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Thu, 20 Jun 2024 17:09:53 +0200 Subject: [PATCH] remove log --- europressepdf.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/europressepdf.js b/europressepdf.js index c1eb505..103d9f4 100644 --- a/europressepdf.js +++ b/europressepdf.js @@ -13,7 +13,7 @@ var baseurl = "https://nouveau.europresse.com/WebPages/Pdf/Document.aspx?DocName function getpage(page) { fetch(baseurl + page) - .then(response =>response.blob()) + .then(response => response.blob()) .then(blob => { if (blob.size) @@ -22,7 +22,6 @@ function getpage(page) if (page < 10) pagename = "00" + pagename; else if (page < 100) pagename = "0" + pagename; - console.log("Downloading page " + pagename); var filename = basename + "-" + pagename + ".pdf"; var a = document.createElement('a'); a.href = window.URL.createObjectURL(blob);