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

Add Comicride #6635

Merged
merged 5 commits into from
Jan 1, 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
Binary file added src/web/img/connectors/comicride
Binary file not shown.
24 changes: 24 additions & 0 deletions src/web/mjs/connectors/ComicRide.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import YoungChampion from './YoungChampion.mjs';

//ComiciViewer
export default class ComicRide extends YoungChampion {
constructor() {
super();
super.id = 'comicride';
super.label = 'ComicRide';
this.tags = ['manga', 'japanese'];
this.url = 'https://comicride.jp';
this.apiUrl = this.url;
this.links = {
login: 'https://comicride.jp/signin'
};
}
async _getMangas() {
let mangaList = [];
for (let page = 0, run = true; run; page++) {
const mangas = await this._getMangasFromPage(page);
mangas.length > 0 ? mangaList.push(...mangas) : run = false;
}
return mangaList;
}
}
Loading