Skip to content

Commit

Permalink
OlympusScanlation: change domain (#7506)
Browse files Browse the repository at this point in the history
and tiny api fix.

Fixes #7503
  • Loading branch information
MikeZeDev authored Oct 20, 2024
1 parent 52c8817 commit d74fb47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/web/mjs/connectors/OlympusScanlation.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export default class OlympusScanlation extends Connector {
super.id = 'olympusscanlation';
super.label = 'Olympus Scanlation';
this.tags = [ 'webtoon', 'spanish' ];
this.url = 'https://olympusv2.gg';
this.apiUrl = 'https://dashboard.olympusv2.gg';
this.url = 'https://zonaolympus.com';
this.apiUrl = 'https://dashboard.zonaolympus.com';
}

async _getMangaFromURI(uri) {
Expand All @@ -32,7 +32,7 @@ export default class OlympusScanlation extends Connector {
}

async _getMangasFromPage(page) {
const uri = new URL(`/api/series?page=${page}&direction=asc`, this.apiUrl);
const uri = new URL(`/api/series?page=${page}&direction=asc&type=comic`, this.apiUrl);
const request = new Request(uri, this.requestOptions);
const data = await this.fetchJSON(request);
return data.data.series.data.map(element => {
Expand Down

0 comments on commit d74fb47

Please sign in to comment.