remove log

This commit is contained in:
quenousimporte 2024-06-20 17:09:53 +02:00
parent e4f3a7cdf7
commit a582479da4
1 changed files with 1 additions and 2 deletions

View File

@ -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);