Skip to content

Commit

Permalink
PixivComics : change salt (#7394)
Browse files Browse the repository at this point in the history
Fixes #7393
  • Loading branch information
MikeZeDev authored Sep 15, 2024
1 parent 359a387 commit 0bf6af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/mjs/connectors/PixivComics.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default class PixivComics extends Connector {

async _getPages(chapter) {
const timestamp = new Date().toISOString().replace(/\.\d+Z$/, 'Z');
const hash = CryptoJS.SHA256(timestamp + '4yX5JnooikMsznkIF2Pc1zDCoMmKJdJj27HPrSyEVzgmepcghvumFihiv0LAK0Se').toString(CryptoJS.enc.Hex);
const hash = CryptoJS.SHA256(timestamp + '1P-7eSTKnyxRrsxXrvKcng4L68ju8RvuP38OhGAE-gE').toString(CryptoJS.enc.Hex);
const uri = new URL(`episodes/${chapter.id}/read_v4`, this.apiURL);
const request = new Request(uri, this.requestOptions);
request.headers.set('x-requested-with', 'pixivcomic');
Expand Down

0 comments on commit 0bf6af0

Please sign in to comment.