f
This commit is contained in:
parent
d20641c038
commit
a732f12c87
1
pixiv.js
1
pixiv.js
@ -84,7 +84,6 @@ export async function getPostDataById(id) {
|
||||
var images = [];
|
||||
for (let i = 0; i < illust.pageCount; i++) {
|
||||
let url = illust.urls.original.replace('p0', 'p'+i);
|
||||
console.log("fetch", url);
|
||||
let data = await fetch(url, {
|
||||
headers: {"Referer": "https://www.pixiv.net/"}
|
||||
}).then(res => res.blob());
|
||||
|
Loading…
x
Reference in New Issue
Block a user