Skip to content

Commit

Permalink
Some websites maintenance (#7234)
Browse files Browse the repository at this point in the history
* LuminousScans : change domain & filter pages

* Mindafansub : change domain & use Madara
  • Loading branch information
MikeZeDev committed Jul 3, 2024
1 parent 73d6cb0 commit 992901e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 5 additions & 1 deletion src/web/mjs/connectors/LuminousScans.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ export default class LuminousScans extends WordPressMangastream {
super.id = 'luminousscans';
super.label = 'Luminous Scans';
this.tags = [ 'webtoon', 'english' ];
this.url = 'https://luminouscomics.org';
this.url = 'https://luminous-scans.com';
this.path = '/series/list-mode/';

this.queryChapters = 'div#chapterlist ul li a';
}

async _getPages(chapter) {
return (await super._getPages(chapter)).filter(image => !/\/NovelBanner[^.]+\.(png|jpeg|jpg|gif)$/i.test(image));
}
}
7 changes: 3 additions & 4 deletions src/web/mjs/connectors/mindafansub.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import WordPressMangastream from './templates/WordPressMangastream.mjs';
import WordPressMadara from './templates/WordPressMadara.mjs';

export default class MindaFanSub extends WordPressMangastream {
export default class MindaFanSub extends WordPressMadara {

constructor() {
super();
super.id = 'mindafansub';
super.label = 'Minda Fansub';
this.tags = ['webtoon', 'turkish', 'scanlation'];
this.url = 'https://mindafansub.me';
this.path = '/manga/list-mode/';
this.url = 'https://mindafansub.online';
}
}

0 comments on commit 992901e

Please sign in to comment.