Skip to content

Commit

Permalink
FIX Mgkomik : change domain (#6209)
Browse files Browse the repository at this point in the history
and adjust manga listing

Fixes #6208
  • Loading branch information
MikeZeDev authored Sep 11, 2023
1 parent f756a09 commit 55ebf75
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/web/mjs/connectors/Mgkomik.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ export default class Mgkomik extends WordPressMadara {
super.id = 'mgkomik';
super.label = 'MGKOMIK';
this.tags = [ 'webtoon', 'indonesian' ];
this.url = 'https://mgkomik.com';
this.url = 'https://mgkomik.id/';
this.queryMangas = 'div.manga div > a';
}
}

async _getMangasFromPage(page) {
let request = this._createMangaRequest(page);
let data = await this.fetchDOM(request, this.queryMangas);
return data.map(element => {
return {
id: this.getRootRelativeOrAbsoluteLink(element, request.url),
title: element.title.trim()
};
});
}

}

0 comments on commit 55ebf75

Please sign in to comment.