Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some domain changes #7246

Merged
merged 2 commits into from
Jul 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions src/web/mjs/connectors/KomikCast.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,19 @@ export default class KomikCast extends WordPressMangastream {
super.id = 'komikcast';
super.label = 'KomikCast';
this.tags = [ 'manga', 'indonesian' ];
this.url = 'https://komikcast.ch';
this.url = 'https://komikcast.cz';
this.path = '/daftar-komik/?list';

this.querMangaTitleFromURI = 'h1.komik_info-content-body-title';
this.queryMangas = 'div.text-mode_list-items ul li a.series, div.text-mode_list-items ul li a.text-mode_list-item';
this.queryChapters = 'div.komik_info-chapters ul li.komik_info-chapters-item a.chapter-link-item';
this.queryChaptersTitle = undefined;
this.queryPages = 'div.main-reading-area source.lazyload, div.separator source.lazyload';
this.queryPages = 'div.main-reading-area img';
this.requestOptions.headers.set('x-referer', this.url);
}

async _initializeConnector() {
// do nothing on purpose
}

async _getPages(chapter) {
const uri = new URL(chapter.id, this.url);
const request = new Request(uri, this.requestOptions);
const data = await this.fetchDOM(request, this.queryPages);
return data.map(image => this.createConnectorURI(this.getAbsolutePath(image.dataset['src'], this.url)));
}
}
2 changes: 1 addition & 1 deletion src/web/mjs/connectors/KomikTap.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default class KomikTap extends WordPressMangastream {
super.id = 'komiktap';
super.label = 'KomikTap';
this.tags = [ 'manga', 'webtoon', 'hentai', 'indonesian' ];
this.url = 'https://komiktap.me';
this.url = 'https://komiktap.info';
this.path = '/manga/list-mode/';
}
}
Loading