Compare commits
2 Commits
e0c6b12ccc
...
a582479da4
Author | SHA1 | Date |
---|---|---|
quenousimporte | a582479da4 | |
quenousimporte | e4f3a7cdf7 |
|
@ -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);
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
<li><a href="https://lundi.am">Lundi matin</a></li>
|
||||
<li><a href="https://www.terrestres.org">Terrestres</a></li>
|
||||
<li><a href="https://basta.media">Basta!</a></li>
|
||||
<li><a href="https://theconversation.com/fr">The Conversation</a></li>
|
||||
<li><a href="https://www.theguardian.com/europe">The Guardian</a></li>
|
||||
<li><a href="https://theintercept.com/">The Intercept</a></li>
|
||||
<li><a href="https://www.contretemps.eu/">Contretemps</a></li>
|
||||
|
|
Loading…
Reference in New Issue