Skip to content

Commit

Permalink
Fix PixivComics: correct header (#6338)
Browse files Browse the repository at this point in the history
not an urgent fix cause everything works.
Its just to make it closer to what the website does.
  • Loading branch information
MikeZeDev authored Oct 23, 2023
1 parent 58182d5 commit 940881b
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 @@ -14,7 +14,7 @@ export default class PixivComics extends Connector {
};
this.apiURL = 'https://comic.pixiv.net/api/app/';
this.requestOptions.headers.set('x-referer', this.url);
this.requestOptions.headers.set('x-requested-with', this.url);
this.requestOptions.headers.set('x-requested-with', 'pixivcomic');
}

async _getMangaFromURI(uri) {
Expand Down

0 comments on commit 940881b

Please sign in to comment.