Skip to content

Commit

Permalink
feat(RadiantScans): add connector (#7384)
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanWasTaken authored Sep 4, 2024
1 parent 4a58ff1 commit f206c39
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/web/mjs/connectors/RadiantScans.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import WordPressMangastream from './templates/WordPressMangastream.mjs';

export default class RadiantScans extends WordPressMangastream {
constructor() {
super();
super.id = 'radiantscans';
super.label = 'RadiantScans';
this.tags = [ 'manga', 'english', 'scanlation' ];
this.url = 'https://radiantscans.com';
this.path = '/series/list-mode/';

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

get icon() {
return '/img/connectors/luminousscans';
}

async _getPages(chapter) {
return (await super._getPages(chapter)).filter(image => !/\/NovelBanner[^.]+\.(png|jpeg|jpg|gif)$/i.test(image));
}
}

0 comments on commit f206c39

Please sign in to comment.