Skip to content

Commit

Permalink
Adding TernoScans and ErosScan (#7658)
Browse files Browse the repository at this point in the history
* Adding TernoScans and ErosScan

Co-authored-by: MikeZeDev <[email protected]>
  • Loading branch information
Bazket571 and MikeZeDev authored Feb 8, 2025
1 parent 92c22ef commit b67ab09
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 5 deletions.
Binary file added src/web/img/connectors/erosscans
Binary file not shown.
Binary file modified src/web/img/connectors/tecnoscan
Binary file not shown.
31 changes: 31 additions & 0 deletions src/web/mjs/connectors/ErosScans.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import WordPressMangastream from './templates/WordPressMangastream.mjs';

export default class ErosScan extends WordPressMangastream {

constructor() {
super();
super.id = 'erosscans';
super.label = 'Eros Scan';
this.tags = ['webtoon', 'english'];
this.path = '/manga/list-mode/';
this.config = {
url: {
label: 'URL',
description: 'This website changes their URL regularly.\nThis is the last known URL which can also be manually set by the user.',
input: 'text',
value: 'https://doomcomic.xyz'
}
};
}

get url() {
return this.config.url.value;
}

set url(value) {
if (this.config && value) {
this.config.url.value = value;
Engine.Settings.save();
}
}
}
29 changes: 24 additions & 5 deletions src/web/mjs/connectors/TecnoScan.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,31 @@
import WordPressMadara from './templates/WordPressMadara.mjs';
import WordPressMangastream from './templates/WordPressMangastream.mjs';

export default class TecnoScan extends WordPressMadara {
export default class TecnoScan extends WordPressMangastream {

constructor() {
super();
super.id = 'tecnoscan';
super.label = 'Tecno Scan';
this.tags = [ 'webtoon', 'spanish' ];
this.url = 'https://tecnoscann.com';
this.tags = ['webtoon', 'english'];
this.path = '/manga/list-mode/';
this.config = {
url: {
label: 'URL',
description: 'This website changes their URL regularly.\nThis is the last known URL which can also be manually set by the user.',
input: 'text',
value: 'https://tercodoom.xyz'
}
};
}
}

get url() {
return this.config.url.value;
}

set url(value) {
if (this.config && value) {
this.config.url.value = value;
Engine.Settings.save();
}
}
}

0 comments on commit b67ab09

Please sign in to comment.