Skip to content

Commit

Permalink
Merge Nightly into Stable (#7284)
Browse files Browse the repository at this point in the history
* feat(Ascalon): create connector (#6661)

* Fid CovenScan domain (#6670)

Fixes #6463

* Fix ZeroScans: change url and fix paste support (#6671)

* Change url and fix paste support

* Use regex to extract slug

* FIx WestManga: change domain (#6669)

Fixes #6666

* Fix PojokManga : change domain (#6652)

Fixes #6650

* FIx XoxoComics: domain & manga listing (#6647)

Fixes #6646

* FIx MangaHub: change API & CDN domains (#6683)

Fixes #6682

Websites based on MH has been tested too :)

* FIX MangaEffect : no more wpmangaprotector (#6699)

Fixes #6698

* add mangasusuku (#6704)

* Lezhin : change manga list endpoint & language values (#6689)

* Lezhin : change manga list endpoint

* Lezhin : change locale code

* Fix InfernalVoidScans: use referer (#6705)

Fixes #6701

* RandomScan : rebranding to LuraToon (#6726)

* RandomScan : rebranding to LuraToon

* update randomscan icon

* Fix Ainzscans: domain and junk in manga title (#6714)

Fixes #6712

* feat(AGS): create connector (#6753)

* feat(Nyrax): create connector (#6754)

* Remove Assorted Scans (#6768)

* FIx AsuraScansTR : domain, Madara, no junk (#6713)

Fixes #6707

* FIx LikeManga: invalid css selector (#6745)

Turns out selector is invalid in our old chrome
Filtering picture another way

* Fix GekkouScans: change domain (#6740)

Fixes #6739

* Update MangasChan.mjs (#6752)

updating the link data

* Fix MangaGeko: change domain (#6757)

Fixes #6756

* Fix Nonbiri: rebranding & change domain (#6737)

Fixes #6736

* MangaHub.io: change CDN (#6771)

* FIx MangaTR: change manga list path (#6733)

Fixes #6731

* [mangadex] get list from CDN (#6774)

* get mangalist from cdn

* fix lint error

---------

Co-authored-by: MikeZeDev <[email protected]>

* Websites maintenance : AlliedFansub & Nivera (#6802)

* AlliedFansub: change domain and template Fixes #6793
* Nivera : change domain Fixes #6792

* Fix ComicK : change domain (#6779)

* FIx WebtoonHatti: change selector again (#6775)

* FIX TCBScans: workaround for 404 errors (#6376)

* FIX TCBScans: workarourd for 404 errors

1) Website changed url (unrelated)
2) They deliberately introduce missing junk pictures in popular manga chapters. 

Since they cant be distinguished by name pattern, we use another method ;)

* requested changes

* changed logic for fake pages

missing pages are always at the end, so we start testing pictures backwards and stop when its good.

* tbcscans: fire all promises and wait

* Fix Opiatoon: changte domain (#6809)

Fixes #6791

* ComicWalker: rebrand to KadoComi (#6808)

Fixes #6806

* Fix ManhuaPlus: domain and change template (#6825)

No more madara.

Fixes #6824

* FiX KomikAV: change domain & rebrnad to APKomik (#6839)

Closes #6837

* use more recent user-agent header (#6835)

* Fix TuMangaOnline: fix getting pages (#6684)

* FIx welovemanga.one: getting pages (#6715)

Fixes #6711

* Fix HentaiRead: get chapters and pages (#6777)

* Fix HentaiRead: get chapters and pages

* fix regex

* Fix lint

* try catch in promise

* Fix ManhwaFreak: change fomain and filters (#6851)

Fixes #6849

* Fix LyraScans: change domain & rebrand (#6857)

* Fix LyraScans: change domain & rebrand

Fixes #6856

* update icon

* Fix NeoxScan: change domain (#6860)

* FIx ResetScans : change domain (#6854)

Fixes #6853

* Fix SwatManga : change domain (#6844)

Fixes #6842

* Fix KomikNesia : change domain (#6873)

Fixes #6871

* Fix MangaToon: change CSS for chapters (#6887)

get rid of duplicate chapters

* Fix ComicK: update domain (#6897)

Fixes #6896

* Fix MangaSail : change domain (#6898)

Fixes #6894

* Fix MangaBat : change domain (#6899)

* Fix MangaStarz : change domain (#6901)

Fixes #6900

* change domain (#6910)

Co-authored-by: Abdullah-KS <[email protected]>

* FIx Siyahmelek: change domain (#6915)

Fixes #6908

* Fix MangaTX : domain changed (#6916)

Fixes #6911

* Fix TopToon : update CSS selectors (#6906)

* Fix TopToon : update CSS selectors

Fixes #6905

* Update TopToon.mjs

* Update TopToon.mjs

* attempt to fix lint error

* dont use optional chaining

optional chaining doesnt work in stable build because electron version is too old

* Fix MagKan: use Comici Viewer (#6927)

Similar to YoungChampion, YoungAnimal, Comicride, ComicMedu, etc....

Fixes #6926

* Fix winterscan : change domain (#6935)

#6933

* fix MangaSect source (#6930)

* fix MangaSect source

* fix lint

* better mangasect fix

---------

Co-authored-by: Victor Abrate <[email protected]>
Co-authored-by: MikeZeDev <[email protected]>

* Fix MoonWitchInLove : change domain (#6942)

Fixes #6936

* add connector monzeekomik (#6954)

* add connector monzeekomik

* fix lint

---------

Co-authored-by: MikeZeDev <[email protected]>

* Fix ComicExtra : change domain (#6951)

* FIx KomikAV: domain type (#6881)

Fixes #6879

* Fix Saikaiscan : change domain (#6963)

Fixes #6620

* Fix LxHentai: change domain (#6970)

Fixes #6968

* Lock ESLint Version (#6971)

* lock eslint version

* fix lint errors

* updated connector drakescans (#6995)

* updated connector drakescans

* change to correct class name

* Fix ZinManga: change domain (#6978)

* Change domain fo AnimePahe (#7002)

Fixes #7001

* Fix ShinigamiID: domain & break encryption (#7023)

custom WPmangaprotector, cute
Fixes #6667

* Fix Aniwave : fix "Filemoon" support (#7021)

* Fix Aniwave : fix "Filemoon" support

relevant commit manga-download/hakuneko-plugins@1a8f9e4

A single line change tbh

* filemoon: add delay

* Fix CocoManhua : getting pictures (#7020)

Fixes #6886 ? 

relevant commit : manga-download/hakuneko-plugins@05bbb2e

Again, a one line commit for a nasty website :)

(Mangadig & Coco were tested)

* add connector sakuranovel (#6964)

* add sakuranovel

* remove useless code

* fixed content errors

* Update SakuraNovel.mjs

---------

Co-authored-by: MikeZeDev <[email protected]>

* Fix RizzComics : change domain (#7039)

Fixes #7036

* FIx TopManhua: change domain and rebrand (#7040)

Fixes #6975

* Fix ManhwaFreak : change domain (#7042)

Late PM cause drunkyards in the street cant let me sleep.
Woooohooo.

* ComicWalker:  better manga list (#7003)

Fixes #7000

* Fix MangaCross: extends Comici & Rebrand (#7007)

* Fix MangaCross: extends Comici & Rebrand

Fixes #7006

* update icon

* Update LELScanVF.mjs (#7012)

* Fix Cycomi: getting chapter & getting volume pages (#7043)

* Fix FlameComics : handle "puzzles" (#7026)

Fixes #3972

* FIX UzayManga : website revamping (#7025)

* FIX UzayManga : website revamping 

Fixes #6503

* fix images path

* better promise

* Fixes Piccoma & PiccomaFR (#7024)

* Fixes #6430 (descrambling). Bonus : its simpler
* Fixes #6627
* Add manga list for PiccomaFR
* Fix clipboard 
* Better mangalist for Piccoma (but it takes way more time)

Fixes are inspired from Haruneko plugins for Piccoma, <3 ronny

* Fix Lezhin: get LZconfig from elsewhere (#7022)

also some code refactoring.

Fixes #6830

* Fix MangahubRU: various fixes (#7016)

*   Fix Mangalist CSS selector
 *   Get pages normally (no json)
 *   Fix Clipboard support
 *   Use referrer for pages
 *   Set adult cookie for chapters

* FIx WebtoonHatti: fix getting pages, again (#7015)

this time, with an added bonus.

* HeanCMS : handle new API (#7014)

* HeanCms handle new api

* TempleScan: change endpoint

* Fix ManhwaClub => Become ManhwaHentai (#7019)

* Fix ManhwaClub => Become ManhwaHentai

Fixes #6863
Fixes #6115

* Add files via upload

* Fix ComicKiba => Become Manhuagold (#7018)

* Fix ComicKiba => Become Manhuagold

Similar to manhuaplus
Fixes #6875

* Add files via upload

* Update ComicBoost.mjs (#7013)

* Fix SirenKomik: fix chapters list + get pictures without JS (#7017)

Fixes #6880

* Fix Mangapark : many stuff (#7034)

* Fix Mangapark : many stuff

* Fix NSFW cookie
* Fix Mangalist (V5)
* Fix chapters (V5)
* Use API to get pages list (V5)
* Default is now V5 with V3 fallbacks,

Fixes #7033

Discussion opened.

* fix var type

* Update MangaParkEN.mjs

* Update MangaParkEN.mjs

* LuminousScans : change domain (#7053)

* Fix NhatTruyen: change domain (#7051)

like every week.

Fixes #6949

* Lint fix WebtoonHatti.mjs (#7058)

* fix(DrakeScans): update domain (#7055)

* DemonSect : change domain (#7059)

Cloudflare, so its useless

* feat(CulturedWorks): create connector (#7057)

* feat(CulturedWorks): create connector

* refactor(CulturedWorks): remove "npm"

* add ReadAllComics and fix ComicExtra domain (#7074)

* add ReadAllComics fix ComicExtra domain

* fix linting issues

* add copy paste support

* Fix TruyenQQ: changfe domain (#7072)

* NightScans : change domain (#7082)

Closes #7081

* KnightNoFansub : change domain and add referer (#7085)

* Properly remove control codes chars from download path (#6721)

* Properly remove control codes chars from download path

Fixes #6718

* Update Storage.mjs

* WeLoMa.mjs : Change URL (#7088)

* Update WeLoMa.mjs

* Update WeLoMa.mjs

---------

Co-authored-by: MikeZeDev <[email protected]>

* ManhuaScan => KaliScan (#7107)

basically, change domain

* Fix klm website change (#7105)

* fix KissAway.mjs

* fix with random extra character

* fix typo

* fix lint and stuff

* filter Olimposcan ads

---------

Co-authored-by: MikeZeDev <[email protected]>

* Fix TuMangaOnlineHentai: clipboard & pages (#7116)

Fixes #7115

* Piccoma : api change (#7117)

* Piccoma : api change

Fixes #7113

* Update Piccoma.mjs

* piccomafr : fix clipboard

* ImmortalUpdates: change domain (#7152)

Fixes #7145

* Fbsquads: change domain (#7174)

Fixes #7173

* FIx Ridibooks : getting pages (#7178)

Fixes #7177

* Fix tapas.io connection (#7180)

* updated tapas.io

* added clipboard support

* remove unused variable

* readability

* tapas : lint fix

---------

Co-authored-by: tkasriel <[email protected]>
Co-authored-by: MikeZeDev <[email protected]>

* Use Node 20 for CI (#7182)

* Lock Puppeteer version

* use node 20 for CI

* revert packages.json changes

* MangaGeko: domain change & mangalist fix (#7140)

Fixes #7138

* Manhuagold : fix manga list, clipboard and chapters (#7186)

Fixes #7185

* ResetScans: change domain (#7192)

* Voidscans : Change domain (#7139)

* Voidscans : Change domain

Fixes #7135

* Update NtsVoidScans.mjs

remove space

* Delete src/web/mjs/connectors/NtsVoidScans.mjs

delete NtsVoidScans

* Delete src/web/img/connectors/ntsvoidscans

delete NtsVoidScans icon

* MangaFreak: change domain (#7197)

Fixes #7195

* Aniwave : fix checksums & getting playlist (#7196)

* Aniwave : fix checksums & getting playlist

* Fliemoon : fix getting playlist url

* Aniwave ; fix WAF antiscraper check

* try...catch in async promise

* ComiciViewer : fix manga list CSS (#7202)

Tested working with websites

ComicMedu
BigComics
ChampionCross
YoungChampion
MagKan

* MangaHasu: change domain (#7217)

Fixes #7216

* JiangzaiToon : change domain (#7218)

Fixes #6790

* NiveraFansub: update domain (#7232)

* Some websites maintenance (#7234)

* LuminousScans : change domain & filter pages

* Mindafansub : change domain & use Madara

* TonizuToon : change domain (#7233)

Fixes #7223

* MangaKita: change domain (#7237)

* MangaWT: change domain (#7243)

Fixes #7242

* feat(ShojoScans): create connector (#7244)

* Manhwax: change domain (#7254)

Fixes #7253

* some domain changes (#7246)

* KomikTap : change domainn

* KomikCast : change domain and fix getting pages & clipboard

* ManHuaGui: delay page script (#7265)

well, website is too slow

* ReadComicOnline.li: fix website (#7275)

* FIX : ReadComicOnline.li : updated script to get image URLs as the old JS variable is removed

Fixes 'lstImages is not defined' error and also catches the error instead of failing with a timeout

* implement suggestion by @ronny1982 , replacing blogspot size parameters with =s0

* Forgot to escape backslash with JS backtick quotes

* InfernalVoidScans: change domain (#7282)

Fixes #7279

* solve conflict with locked eslint version

* fix lint errors

* fix lint errors

---------

Co-authored-by: Tristan
Co-authored-by: MikeZeDev
Co-authored-by: trendbloat
Co-authored-by: akn19
Co-authored-by: ObserverOfTime
Co-authored-by: Luis Araújo
Co-authored-by: ZIRO
Co-authored-by: Abdullah-KS
Co-authored-by: Victor Abrate
Co-authored-by: Victor Abrate
Co-authored-by: Yevu David Efui
Co-authored-by: Sheep
Co-authored-by: yoanhg421
Co-authored-by: Torablue
Co-authored-by: realabertian
Co-authored-by: Asriel2137
Co-authored-by: tkasriel
Co-authored-by: Peter
  • Loading branch information
ronny1982 authored Jul 28, 2024
1 parent d81c395 commit 71cc7a6
Show file tree
Hide file tree
Showing 140 changed files with 1,575 additions and 1,231 deletions.
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

0 comments on commit 71cc7a6

Please sign in to comment.