Skip to content

Commit

Permalink
FIx LeviatanScans : change domain (#6213)
Browse files Browse the repository at this point in the history
* FIx LeviatanScans : chande domain

Fixes #6210

* Update LeviatanScans.mjs
  • Loading branch information
MikeZeDev authored and Sheepux committed Jan 2, 2024
1 parent d68259f commit 0716a07
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/web/mjs/connectors/LeviatanScans.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@ export default class LeviatanScans extends WordPressMadara {
super.id = 'leviatanscans';
super.label = 'LeviatanScans';
this.tags = [ 'webtoon', 'high-quality', 'english', 'scanlation' ];
this.url = 'https://en.leviatanscans.com';
this.url = 'https://lscomic.com';
this.requestOptions.headers.set('x-origin', this.url);
this.requestOptions.headers.set('x-referer', `${this.url}/`);
}

_createMangaRequest(page) {
return new Request(new URL(`/ranking/page/${page}/`, this.url), this.requestOptions);
}
}

0 comments on commit 0716a07

Please sign in to comment.