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

Merge Nightly into Stable #7284

Merged
merged 132 commits into from
Jul 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
ffa76d1
feat(Ascalon): create connector (#6661)
TristanWasTaken Jan 8, 2024
f9c7222
Fid CovenScan domain (#6670)
MikeZeDev Jan 11, 2024
7213f3e
Fix ZeroScans: change url and fix paste support (#6671)
trendbloat Jan 12, 2024
07dabfd
FIx WestManga: change domain (#6669)
MikeZeDev Jan 14, 2024
57a1621
Fix PojokManga : change domain (#6652)
MikeZeDev Jan 14, 2024
b70158a
FIx XoxoComics: domain & manga listing (#6647)
MikeZeDev Jan 14, 2024
79093b9
FIx MangaHub: change API & CDN domains (#6683)
MikeZeDev Jan 15, 2024
5c1b594
FIX MangaEffect : no more wpmangaprotector (#6699)
MikeZeDev Jan 23, 2024
4125c1e
add mangasusuku (#6704)
akn19 Jan 23, 2024
552812d
Lezhin : change manga list endpoint & language values (#6689)
MikeZeDev Jan 23, 2024
0c83ebe
Fix InfernalVoidScans: use referer (#6705)
MikeZeDev Jan 23, 2024
682330e
RandomScan : rebranding to LuraToon (#6726)
MikeZeDev Jan 27, 2024
a141dce
Fix Ainzscans: domain and junk in manga title (#6714)
MikeZeDev Jan 27, 2024
09d60e3
feat(AGS): create connector (#6753)
TristanWasTaken Feb 5, 2024
a0b5fd2
feat(Nyrax): create connector (#6754)
TristanWasTaken Feb 5, 2024
ff8cc41
Remove Assorted Scans (#6768)
ObserverOfTime Feb 8, 2024
c8345d3
FIx AsuraScansTR : domain, Madara, no junk (#6713)
MikeZeDev Feb 10, 2024
66c66f1
FIx LikeManga: invalid css selector (#6745)
MikeZeDev Feb 10, 2024
f5ae468
Fix GekkouScans: change domain (#6740)
MikeZeDev Feb 10, 2024
c84bee2
Update MangasChan.mjs (#6752)
DartinSA Feb 10, 2024
6c97511
Fix MangaGeko: change domain (#6757)
MikeZeDev Feb 10, 2024
1162d33
Fix Nonbiri: rebranding & change domain (#6737)
MikeZeDev Feb 10, 2024
20679d4
MangaHub.io: change CDN (#6771)
MikeZeDev Feb 11, 2024
5f83438
FIx MangaTR: change manga list path (#6733)
MikeZeDev Feb 11, 2024
c2b5e19
[mangadex] get list from CDN (#6774)
ronny1982 Feb 19, 2024
3188055
Websites maintenance : AlliedFansub & Nivera (#6802)
MikeZeDev Feb 20, 2024
340a7fc
Fix ComicK : change domain (#6779)
MikeZeDev Feb 20, 2024
125dd8c
FIx WebtoonHatti: change selector again (#6775)
MikeZeDev Feb 20, 2024
852b371
FIX TCBScans: workaround for 404 errors (#6376)
MikeZeDev Feb 21, 2024
0f16a3a
Fix Opiatoon: changte domain (#6809)
MikeZeDev Feb 25, 2024
1c40f75
ComicWalker: rebrand to KadoComi (#6808)
MikeZeDev Feb 26, 2024
dd0ca99
Fix ManhuaPlus: domain and change template (#6825)
MikeZeDev Feb 26, 2024
6786063
FiX KomikAV: change domain & rebrnad to APKomik (#6839)
MikeZeDev Feb 29, 2024
dbc0056
use more recent user-agent header (#6835)
ronny1982 Mar 2, 2024
a1da196
Fix TuMangaOnline: fix getting pages (#6684)
MikeZeDev Mar 2, 2024
b60c3a6
FIx welovemanga.one: getting pages (#6715)
MikeZeDev Mar 2, 2024
7eaf7fd
Fix HentaiRead: get chapters and pages (#6777)
MikeZeDev Mar 2, 2024
b1b7b57
Fix ManhwaFreak: change fomain and filters (#6851)
MikeZeDev Mar 8, 2024
3ea3d11
Fix LyraScans: change domain & rebrand (#6857)
MikeZeDev Mar 8, 2024
7d4758c
Fix NeoxScan: change domain (#6860)
MikeZeDev Mar 8, 2024
acb509f
FIx ResetScans : change domain (#6854)
MikeZeDev Mar 8, 2024
ffee628
Fix SwatManga : change domain (#6844)
MikeZeDev Mar 8, 2024
496a738
Fix KomikNesia : change domain (#6873)
MikeZeDev Mar 12, 2024
00fae52
Fix MangaToon: change CSS for chapters (#6887)
MikeZeDev Mar 20, 2024
789cd5e
Fix ComicK: update domain (#6897)
MikeZeDev Mar 20, 2024
2b15c8c
Fix MangaSail : change domain (#6898)
MikeZeDev Mar 20, 2024
faf9ae1
Fix MangaBat : change domain (#6899)
MikeZeDev Mar 20, 2024
c5d6107
Fix MangaStarz : change domain (#6901)
MikeZeDev Mar 23, 2024
6cdeb48
change domain (#6910)
PD-ZIRO Mar 26, 2024
744d5e2
FIx Siyahmelek: change domain (#6915)
MikeZeDev Mar 29, 2024
6539fc0
Fix MangaTX : domain changed (#6916)
MikeZeDev Mar 29, 2024
41e935b
Fix TopToon : update CSS selectors (#6906)
MikeZeDev Mar 31, 2024
fc3efe1
Fix MagKan: use Comici Viewer (#6927)
MikeZeDev Apr 1, 2024
a23d16b
Fix winterscan : change domain (#6935)
MikeZeDev Apr 4, 2024
b71baa8
fix MangaSect source (#6930)
kajack Apr 5, 2024
f5f7d1d
Fix MoonWitchInLove : change domain (#6942)
MikeZeDev Apr 5, 2024
48e1680
add connector monzeekomik (#6954)
akn19 Apr 9, 2024
d60fcd3
Fix ComicExtra : change domain (#6951)
MikeZeDev Apr 15, 2024
60881d8
FIx KomikAV: domain type (#6881)
MikeZeDev Apr 15, 2024
94b4c7f
Fix Saikaiscan : change domain (#6963)
MikeZeDev Apr 15, 2024
3696511
Fix LxHentai: change domain (#6970)
MikeZeDev Apr 16, 2024
f7c0b1a
Lock ESLint Version (#6971)
ronny1982 Apr 16, 2024
26c77b9
updated connector drakescans (#6995)
YurDavid Apr 18, 2024
6d183e9
Fix ZinManga: change domain (#6978)
MikeZeDev Apr 18, 2024
4587dd2
Change domain fo AnimePahe (#7002)
MikeZeDev Apr 24, 2024
97aed91
Fix ShinigamiID: domain & break encryption (#7023)
MikeZeDev Apr 24, 2024
6adf011
Fix Aniwave : fix "Filemoon" support (#7021)
MikeZeDev Apr 24, 2024
43dff1c
Fix CocoManhua : getting pictures (#7020)
MikeZeDev Apr 24, 2024
33e40d5
add connector sakuranovel (#6964)
akn19 Apr 24, 2024
d4463ed
Fix RizzComics : change domain (#7039)
MikeZeDev May 1, 2024
9a7f5d1
FIx TopManhua: change domain and rebrand (#7040)
MikeZeDev May 1, 2024
c94a91b
Fix ManhwaFreak : change domain (#7042)
MikeZeDev May 1, 2024
f0f99e9
ComicWalker: better manga list (#7003)
MikeZeDev May 4, 2024
a48d5e0
Fix MangaCross: extends Comici & Rebrand (#7007)
MikeZeDev May 4, 2024
26efa27
Update LELScanVF.mjs (#7012)
MikeZeDev May 4, 2024
a40b044
Fix Cycomi: getting chapter & getting volume pages (#7043)
MikeZeDev May 4, 2024
caaf0b7
Fix FlameComics : handle "puzzles" (#7026)
MikeZeDev May 4, 2024
ea51bb3
FIX UzayManga : website revamping (#7025)
MikeZeDev May 4, 2024
164e6a3
Fixes Piccoma & PiccomaFR (#7024)
MikeZeDev May 4, 2024
325f54f
Fix Lezhin: get LZconfig from elsewhere (#7022)
MikeZeDev May 4, 2024
ba76e1d
Fix MangahubRU: various fixes (#7016)
MikeZeDev May 4, 2024
d394479
FIx WebtoonHatti: fix getting pages, again (#7015)
MikeZeDev May 4, 2024
72abb79
HeanCMS : handle new API (#7014)
MikeZeDev May 4, 2024
a22b14c
Fix ManhwaClub => Become ManhwaHentai (#7019)
MikeZeDev May 4, 2024
e9f624d
Fix ComicKiba => Become Manhuagold (#7018)
MikeZeDev May 4, 2024
2f49ca3
Update ComicBoost.mjs (#7013)
MikeZeDev May 4, 2024
c1802ed
Fix SirenKomik: fix chapters list + get pictures without JS (#7017)
MikeZeDev May 4, 2024
b3d7a0a
Fix Mangapark : many stuff (#7034)
MikeZeDev May 4, 2024
4ab752c
LuminousScans : change domain (#7053)
MikeZeDev May 5, 2024
bc75a03
Fix NhatTruyen: change domain (#7051)
MikeZeDev May 5, 2024
7e39429
Lint fix WebtoonHatti.mjs (#7058)
Sheepux May 6, 2024
95e0c1d
fix(DrakeScans): update domain (#7055)
TristanWasTaken May 6, 2024
ee04ee7
DemonSect : change domain (#7059)
MikeZeDev May 6, 2024
e973724
feat(CulturedWorks): create connector (#7057)
TristanWasTaken May 8, 2024
8605232
add ReadAllComics and fix ComicExtra domain (#7074)
yoanhg421 May 12, 2024
eb9ab54
Fix TruyenQQ: changfe domain (#7072)
MikeZeDev May 12, 2024
ce6a972
NightScans : change domain (#7082)
MikeZeDev May 17, 2024
b028162
KnightNoFansub : change domain and add referer (#7085)
MikeZeDev May 17, 2024
4e6e090
Properly remove control codes chars from download path (#6721)
MikeZeDev May 17, 2024
216f80f
WeLoMa.mjs : Change URL (#7088)
Torablue May 18, 2024
0b3de4a
ManhuaScan => KaliScan (#7107)
MikeZeDev May 29, 2024
404241b
Fix klm website change (#7105)
realabertian Jun 1, 2024
9b7e06d
Fix TuMangaOnlineHentai: clipboard & pages (#7116)
MikeZeDev Jun 1, 2024
4b3144a
Piccoma : api change (#7117)
MikeZeDev Jun 1, 2024
ee276ab
ImmortalUpdates: change domain (#7152)
MikeZeDev Jun 7, 2024
20b092c
Fbsquads: change domain (#7174)
MikeZeDev Jun 8, 2024
e2a02ea
FIx Ridibooks : getting pages (#7178)
MikeZeDev Jun 13, 2024
99a54a8
Fix tapas.io connection (#7180)
Asriel2137 Jun 13, 2024
e03ba65
Use Node 20 for CI (#7182)
MikeZeDev Jun 15, 2024
38c74c3
MangaGeko: domain change & mangalist fix (#7140)
MikeZeDev Jun 15, 2024
e62001c
Manhuagold : fix manga list, clipboard and chapters (#7186)
MikeZeDev Jun 15, 2024
61b1fec
ResetScans: change domain (#7192)
MikeZeDev Jun 16, 2024
ea76f0a
Voidscans : Change domain (#7139)
MikeZeDev Jun 18, 2024
3e4f5de
MangaFreak: change domain (#7197)
MikeZeDev Jun 18, 2024
4cf7327
Aniwave : fix checksums & getting playlist (#7196)
MikeZeDev Jun 18, 2024
b89f058
ComiciViewer : fix manga list CSS (#7202)
MikeZeDev Jun 22, 2024
e666239
MangaHasu: change domain (#7217)
MikeZeDev Jun 27, 2024
984a0bb
JiangzaiToon : change domain (#7218)
MikeZeDev Jun 28, 2024
62c13cf
NiveraFansub: update domain (#7232)
MikeZeDev Jul 3, 2024
c91f2d4
Some websites maintenance (#7234)
MikeZeDev Jul 3, 2024
b342576
TonizuToon : change domain (#7233)
MikeZeDev Jul 3, 2024
a500624
MangaKita: change domain (#7237)
MikeZeDev Jul 4, 2024
bb2a170
MangaWT: change domain (#7243)
MikeZeDev Jul 7, 2024
a84b41e
feat(ShojoScans): create connector (#7244)
TristanWasTaken Jul 11, 2024
ed60e39
Manhwax: change domain (#7254)
MikeZeDev Jul 14, 2024
2f73173
some domain changes (#7246)
MikeZeDev Jul 14, 2024
deb4ee8
ManHuaGui: delay page script (#7265)
MikeZeDev Jul 18, 2024
176c5b4
ReadComicOnline.li: fix website (#7275)
peternoordijk Jul 25, 2024
5459618
InfernalVoidScans: change domain (#7282)
MikeZeDev Jul 26, 2024
c053961
solve conflict with locked eslint version
ronny1982 Jul 27, 2024
1333c1c
fix lint errors
ronny1982 Jul 27, 2024
85eef8a
fix lint errors
ronny1982 Jul 27, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 20
- name: Install NPM Packages
run: npm install
- name: Lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 20
- name: Install NPM Packages
run: npm install
- name: Lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 20
- name: Install NPM Packages
run: npm install
- name: Lint
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@logtrine/logtrine": "latest",
"asar": "latest",
"electron": "6.1.7",
"eslint": "latest",
"eslint": "^8.57.0",
"fs-extra": "latest",
"innosetup-compiler": "latest",
"jest": "latest",
Expand All @@ -34,7 +34,7 @@
"start:build": "npm run build:web && electron . --update-url=DISABLED --cache-directory=./build/latest",
"lint": "npm run lint:app && npm run lint:web",
"lint:app": "eslint ./src/app --ignore-path .gitignore",
"lint:web": "eslint ./src/web/mjs/**/*.mjs --ignore-path .gitignore --ignore-pattern Connectors.mjs",
"lint:web": "eslint ./src/web/mjs/**/*.mjs --ignore-path .gitignore --parser-options ecmaVersion:2020",
"format": "npm run format:app && npm run format:web",
"format:app": "npm run lint:app -- --fix",
"format:web": "npm run lint:web -- --fix",
Expand Down
Binary file added src/web/img/connectors/ascalon
Binary file not shown.
Binary file removed src/web/img/connectors/assortedscans
Binary file not shown.
Binary file modified src/web/img/connectors/comickiba
Binary file not shown.
Binary file added src/web/img/connectors/culturedworks
Binary file not shown.
Binary file modified src/web/img/connectors/lyrascans
Binary file not shown.
Binary file modified src/web/img/connectors/mangacross
Binary file not shown.
Binary file added src/web/img/connectors/mangasusuku
Binary file not shown.
Binary file modified src/web/img/connectors/manhwaclub
Binary file not shown.
Binary file added src/web/img/connectors/monzeekomik
Binary file not shown.
Binary file removed src/web/img/connectors/ntsvoidscans
Binary file not shown.
Binary file added src/web/img/connectors/nyrax
Binary file not shown.
Binary file modified src/web/img/connectors/randomscan
Binary file not shown.
Binary file added src/web/img/connectors/readallcomics
Binary file not shown.
Binary file added src/web/img/connectors/sakuranovel
Binary file not shown.
Binary file added src/web/img/connectors/shojoscans
Binary file not shown.
32 changes: 32 additions & 0 deletions src/web/mjs/connectors/AGS.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import WordPressMangastream from './templates/WordPressMangastream.mjs';

export default class AGS extends WordPressMangastream {

constructor() {
super();
super.id = 'ags';
super.label = 'AGS (Animated Glitched Scans)';
this.tags = [ 'manga', 'english', 'scanlation' ];
this.url = 'https://agscomics.com';
this.path = '/series/?list';
}

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

async _getPages(chapter) {
const data = await super._getPages(chapter);
return data.map(element => this.createConnectorURI(element));
}

async _handleConnectorURI(payload) {
const request = new Request(payload, this.requestOptions);
request.headers.set('x-referer', this.url);
let response = await fetch(request);
let data = await response.blob();
data = await this._blobToBuffer(data);
this._applyRealMime(data);
return data;
}
}
11 changes: 10 additions & 1 deletion src/web/mjs/connectors/Ainzscans.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@ export default class Ainzscans extends WordPressMangastream {
super.id = 'ainzscans';
super.label = 'Ainz Scans';
this.tags = [ 'webtoon', 'indonesian', 'scanlation' ];
this.url = 'https://ainzscans.site';
this.url = 'https://ainzscans.net';
this.path = '/series/list-mode';
}

async _getMangas() {
return (await super._getMangas()).map(manga => {
return {
id : manga.id,
title : manga.title.replace('Bahasa Indonesia', '').trim()
};
});
}
}
7 changes: 3 additions & 4 deletions src/web/mjs/connectors/AlliedFansub.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import WordPressMangastream from './templates/WordPressMangastream.mjs';
import WordPressMadara from './templates/WordPressMadara.mjs';

export default class AlliedFansub extends WordPressMangastream {
export default class AlliedFansub extends WordPressMadara {

constructor() {
super();
super.id = 'alliedfansub';
super.label = 'Allied Fansub';
this.tags = [ 'webtoon', 'turkish', 'scanlation' ];
this.url = 'https://alliedfansub.online';
this.path = '/manga/list-mode/';
this.url = 'https://alliedfansub.net';
this.requestOptions.headers.set('x-referer', this.url);
}
}
2 changes: 1 addition & 1 deletion src/web/mjs/connectors/AnimePahe.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default class AnimePahe extends Connector {
super.id = 'animepahe';
super.label = 'animepahe';
this.tags = [ 'anime', 'subbed' ];
this.url = 'https://animepahe.com';
this.url = 'https://animepahe.ru';

this.config = {
resolution: {
Expand Down
12 changes: 12 additions & 0 deletions src/web/mjs/connectors/Ascalon.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import WordPressMangastream from './templates/WordPressMangastream.mjs';

export default class Ascalon extends WordPressMangastream {
constructor() {
super();
super.id = 'ascalon';
super.label = 'Ascalon';
this.tags = ['webtoon', 'english', 'scanlation'];
this.url = 'https://ascalonscans.com';
this.path = '/manga/list-mode/';
}
}
78 changes: 0 additions & 78 deletions src/web/mjs/connectors/AssortedScans.mjs

This file was deleted.

21 changes: 3 additions & 18 deletions src/web/mjs/connectors/AsuraScansTR.mjs
Original file line number Diff line number Diff line change
@@ -1,31 +1,16 @@
import WordPressMangastream from './templates/WordPressMangastream.mjs';
import WordPressMadara from './templates/WordPressMadara.mjs';

export default class AsuraScansTR extends WordPressMangastream {
export default class AsuraScansTR extends WordPressMadara {

constructor() {
super();
super.id = 'asurascans-tr';
super.label = 'Asura Scans (TR)';
this.tags = ['webtoon', 'turkish'];
this.url = 'https://armoniscans.com';
this.path = '/manga/list-mode/';
this.queryPages = 'div#readerarea p img';
this.requestOptions.headers.set('x-user-agent', 'Mozilla/5.0 (Linux; Android 9; Pixel) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4026.0 Mobile Safari/537.36');
this.url = 'https://asurascans.com.tr';
}

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

async _getPages(chapter) {
const excludes = [
/panda_gif_large/i,
/2021\/04\/page100-10\.jpg/i,
/2021\/03\/20-ending-page-\.jpg/i,
/ENDING-PAGE/i
];
const images = await super._getPages(chapter);
return images.filter(link => !excludes.some(rgx => rgx.test(link)));
}

}
22 changes: 18 additions & 4 deletions src/web/mjs/connectors/ComicBoost.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,29 @@ export default class ComicBoost extends Connector {
}

async _getChapters(manga) {
let request = new Request(new URL(manga.id, this.url), this.requestOptions );
let data = await this.fetchDOM(request, 'a.book-product-list-item');
const chapterList = [];
const request = new Request(new URL(manga.id, this.url), this.requestOptions);
const [ data ] = await this.fetchDOM(request, 'ul.pagination-list.right li.to-last a');
const pageCount = data ?parseInt(new URL(data.href).searchParams.get('p')) : 1;
for(let page = 1; page <= pageCount; page++) {
const chapters = await this._getChaptersFromPage(manga, page);
chapterList.push(...chapters);
}
return chapterList.filter(el => !el.id.includes('?coin=')); //exclude not accessible chapters
}

async _getChaptersFromPage(manga, page) {
const url = new URL(manga.id, this.url);
url.searchParams.set('p', page.toString());
const request = new Request(url, this.requestOptions );
const data = await this.fetchDOM(request, 'a.book-product-list-item');
return data.map(element => {
return {
id: this.getRootRelativeOrAbsoluteLink(element, this.url),
title: element.dataset.title.trim(),
language: ''
};
}).filter(el => !el.id.includes('?coin=')); //exclude not accessible chapters
});
}

async _getPages(chapter) {
Expand Down Expand Up @@ -125,7 +139,7 @@ export default class ComicBoost extends Connector {
if (fileinfos.BlockHeight) //if we have a block size for the page, its a puzzle !
{
mode = 'puzzle';
blocks = window.NFBR.a6G.a5x.prototype.b0Q(fPage, fPage.width, fPage.height)
blocks = window.NFBR.a6G.a5x.prototype.g8w(fPage, fPage.width, fPage.height)
}

return {
Expand Down
4 changes: 2 additions & 2 deletions src/web/mjs/connectors/ComicExtra.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default class ComicExtra extends Connector {
super.id = 'comicextra';
super.label = 'ComicExtra';
this.tags = ['comic', 'english'];
this.url = 'https://comicextra.me';
this.url = 'https://comixextra.com';
this.path = '/comic-list/';
}

Expand All @@ -21,7 +21,7 @@ export default class ComicExtra extends Connector {
return this.getRootRelativeOrAbsoluteLink(element, request.url);
});

for(let page of pages) {
for (let page of pages) {
const mangas = await this._getMangasFromPage(page);
mangaList.push(...mangas);
}
Expand Down
6 changes: 3 additions & 3 deletions src/web/mjs/connectors/ComicK.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ export default class ComicK extends Connector {
super.id = 'comick';
super.label = 'ComicK';
this.tags = [ 'manga', 'english' ];
this.url = 'https://comick.ink';
this.apiurl = 'https://api.comick.ink';
this.url = 'https://comick.io';
this.apiurl = 'https://api.comick.io';
this.requestOptions.headers.set('x-origin', this.url );
this.requestOptions.headers.set('x-referer', this.apiurl );

}

canHandleURI(uri) {
return /https?:\/\/comick\.(app|ink|cc)/.test(uri.origin);
return /https?:\/\/comick\.(app|ink|cc|io)/.test(uri.origin);
}

async _getEmbeddedJSON(uri) {
Expand Down
Loading
Loading