Skip to content

Commit

Permalink
FIX : Mangalek : add referer (#5945)
Browse files Browse the repository at this point in the history
Fixes #5943
  • Loading branch information
MikeZeDev authored and Sheepux committed Jan 2, 2024
1 parent 4c99589 commit 33940f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/web/mjs/connectors/Mangalek.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default class Mangalek extends WordPressMadara {
this.tags = [ 'manga', 'webtoon', 'arabic' ];
this.url = 'https://ww.mangalek.org';
this.queryTitleForURI = 'div.profile-manga div.post-title h1';
this.requestOptions.headers.set('x-referer', this.url);
}

}
}

0 comments on commit 33940f3

Please sign in to comment.