Skip to content

Commit

Permalink
FIX MangaSY : need referrer for pictures (#6112)
Browse files Browse the repository at this point in the history
Fixes #6108
  • Loading branch information
MikeZeDev authored and Sheepux committed Jan 2, 2024
1 parent 8c01cd9 commit 58e70be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/web/mjs/connectors/MangaSY.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default class MangaSY extends WordPressMadara {
resolve(JSON.parse(imgdata));
});
`;
return await Engine.Request.fetchUI(request, script);
const data = await Engine.Request.fetchUI(request, script);
return data.map(picture => this.createConnectorURI({url : picture, referer : url}));
}
}

0 comments on commit 58e70be

Please sign in to comment.