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

update from master #6992

Merged
merged 109 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
0ba3803
ResetScans: Change domain (#6513)
x4nk1t Dec 7, 2023
5512b3e
Add CypherScans (#6509)
x4nk1t Dec 7, 2023
23044e6
Fix ReaperScans domain (#6521)
MikeZeDev Dec 10, 2023
d80b6f4
Fix NeoxScan domain (#6502)
MikeZeDev Dec 10, 2023
33e01f4
Fix YoungChampion: changed CSS for chapters (#6517)
MikeZeDev Dec 10, 2023
4f6365a
FIX ComicK domain & mangalist (#6518)
MikeZeDev Dec 10, 2023
33cb737
FIX TuMangaOnline : change domain (#6389)
MikeZeDev Dec 10, 2023
8489cca
FIX Likemanga.io : properly getting pages (#6524)
MikeZeDev Dec 11, 2023
f5f7948
FIX KomikTap : remove custom init (#6525)
MikeZeDev Dec 11, 2023
74cb06d
feat(HeanCms, TempleScan, OmegaScans, YugenMangas, PerfScan): add Hea…
TristanWasTaken Dec 11, 2023
1250933
add connector doujinku (#6545)
akn19 Dec 15, 2023
d620bf1
Fix MangaWOW : change domain (#6581)
MikeZeDev Dec 17, 2023
d0e53f1
FIX TonizuToon : change domain (#6577)
MikeZeDev Dec 17, 2023
8ad5bbe
FIX SeriManga : change domain (#6575)
MikeZeDev Dec 17, 2023
006bc2d
FIX MangaSehri: change domain (#6574)
MikeZeDev Dec 17, 2023
bf68368
FIX Hayalistic : change domain (#6572)
MikeZeDev Dec 17, 2023
bed4ea4
FIX GuncelManga : change domain (#6571)
MikeZeDev Dec 17, 2023
45cec6c
FIX PrismaScans : change domain (#6542)
MikeZeDev Dec 17, 2023
0dab72d
FIX ComicK.mjs : change domain and accept more domains (#6538)
MikeZeDev Dec 17, 2023
cee4990
feat(Summertoon): add connector (#6590)
TristanWasTaken Dec 18, 2023
da5c108
Fix AzoraWorld/AzoraManga : domain, getpages etc. (#6493)
MikeZeDev Dec 20, 2023
1694e75
Fix ManHuaGui.mjs failed download chapter #6605 (#6606)
realabertian Dec 21, 2023
2b76f53
Fix Cmoa: fix getting chapters pages (#6629)
MikeZeDev Dec 30, 2023
e83a57e
Fix DiskusScan: use MangaStream (#6624)
MikeZeDev Dec 30, 2023
c91232e
FIx GekkouScans : change domain (#6623)
MikeZeDev Dec 30, 2023
bd05fcd
FIx MangaNato : fix domain regex (#6618)
MikeZeDev Dec 30, 2023
e51fa32
Fix MangaPill: add referrer for pages (#6613)
MikeZeDev Dec 30, 2023
d230347
FIx Mangalek : change domain (#6610)
MikeZeDev Dec 30, 2023
0fb5d39
FIX NinjaScan: change domain (#6602)
MikeZeDev Dec 30, 2023
0151276
FIX ComicBushi: domain change (#6607)
MikeZeDev Dec 30, 2023
671cdea
FIX AsuraScans: filter more ad (#6595)
MikeZeDev Dec 30, 2023
fc62df1
FIX ReaperScansTR: change domain (#6589)
MikeZeDev Dec 30, 2023
c1ae0be
FIx CeriseScans: change domain (#6593)
MikeZeDev Dec 30, 2023
94a8597
Update EvaScans: change label and domain (#6588)
MikeZeDev Dec 30, 2023
15fcec1
FIx TitanManga: Mangastream > Madara (#6587)
MikeZeDev Dec 30, 2023
e93e7c1
FIX Yanmaga : use SpeedBinb (#6548)
MikeZeDev Dec 30, 2023
2469461
FIX mangaz: change chapter CSS selector (#6540)
MikeZeDev Dec 30, 2023
6499a2d
FIX GourmetScans: domain change & tweak script (#6531)
MikeZeDev Dec 30, 2023
30d0bc8
Fix Miauscan : change domain and with with novels (#6491)
MikeZeDev Dec 30, 2023
37bf856
Fix CocoManhua/MangaDig : defeat encryption again (#6470)
MikeZeDev Dec 30, 2023
4bdece2
FIX Luscious: api change (#6599)
MikeZeDev Dec 30, 2023
4cd496c
Fix BeeToon: filter fake images (#6597)
MikeZeDev Dec 30, 2023
b7fcfef
FIX ComicEarthStar : switch to CoreView (#6539)
MikeZeDev Dec 30, 2023
2ef3572
FIX ReaperScans: domain change & fix get chapters (#6527)
MikeZeDev Dec 30, 2023
6f2cd1b
FIX ManhwaLatino : mangalist and chapters (#6409)
MikeZeDev Dec 31, 2023
fb918b6
FIX NicoNicoSeiga: only use the fallback (#6372)
MikeZeDev Dec 31, 2023
c8b8b6f
Add Comicride (#6635)
ignaciocastro Jan 1, 2024
e58ffa5
feat(Ascalon): create connector (#6661)
TristanWasTaken Jan 8, 2024
027c36b
Fid CovenScan domain (#6670)
MikeZeDev Jan 11, 2024
c241f88
Fix ZeroScans: change url and fix paste support (#6671)
trendbloat Jan 12, 2024
ed3537b
FIx WestManga: change domain (#6669)
MikeZeDev Jan 14, 2024
07b09ff
Fix PojokManga : change domain (#6652)
MikeZeDev Jan 14, 2024
2c39458
FIx XoxoComics: domain & manga listing (#6647)
MikeZeDev Jan 14, 2024
93f7054
FIx MangaHub: change API & CDN domains (#6683)
MikeZeDev Jan 15, 2024
cd6f10f
FIX MangaEffect : no more wpmangaprotector (#6699)
MikeZeDev Jan 23, 2024
0810140
add mangasusuku (#6704)
akn19 Jan 23, 2024
5c4c6e1
Lezhin : change manga list endpoint & language values (#6689)
MikeZeDev Jan 23, 2024
f61849f
Fix InfernalVoidScans: use referer (#6705)
MikeZeDev Jan 23, 2024
1efe233
RandomScan : rebranding to LuraToon (#6726)
MikeZeDev Jan 27, 2024
6d13602
Fix Ainzscans: domain and junk in manga title (#6714)
MikeZeDev Jan 27, 2024
154d274
feat(AGS): create connector (#6753)
TristanWasTaken Feb 5, 2024
d1f3749
feat(Nyrax): create connector (#6754)
TristanWasTaken Feb 5, 2024
2771c67
Remove Assorted Scans (#6768)
ObserverOfTime Feb 8, 2024
6305835
FIx AsuraScansTR : domain, Madara, no junk (#6713)
MikeZeDev Feb 10, 2024
53d95af
FIx LikeManga: invalid css selector (#6745)
MikeZeDev Feb 10, 2024
ed615b4
Fix GekkouScans: change domain (#6740)
MikeZeDev Feb 10, 2024
636fcd4
Update MangasChan.mjs (#6752)
DartinSA Feb 10, 2024
b76d046
Fix MangaGeko: change domain (#6757)
MikeZeDev Feb 10, 2024
a0513ce
Fix Nonbiri: rebranding & change domain (#6737)
MikeZeDev Feb 10, 2024
a632d54
MangaHub.io: change CDN (#6771)
MikeZeDev Feb 11, 2024
7eee17d
FIx MangaTR: change manga list path (#6733)
MikeZeDev Feb 11, 2024
1be4969
[mangadex] get list from CDN (#6774)
ronny1982 Feb 19, 2024
222beba
Websites maintenance : AlliedFansub & Nivera (#6802)
MikeZeDev Feb 20, 2024
c75bbb5
Fix ComicK : change domain (#6779)
MikeZeDev Feb 20, 2024
8938062
FIx WebtoonHatti: change selector again (#6775)
MikeZeDev Feb 20, 2024
93c651b
FIX TCBScans: workaround for 404 errors (#6376)
MikeZeDev Feb 21, 2024
5dae344
Fix Opiatoon: changte domain (#6809)
MikeZeDev Feb 25, 2024
b59a08f
ComicWalker: rebrand to KadoComi (#6808)
MikeZeDev Feb 26, 2024
3298228
Fix ManhuaPlus: domain and change template (#6825)
MikeZeDev Feb 26, 2024
71580fe
FiX KomikAV: change domain & rebrnad to APKomik (#6839)
MikeZeDev Feb 29, 2024
65b3113
use more recent user-agent header (#6835)
ronny1982 Mar 2, 2024
4fb1b74
Fix TuMangaOnline: fix getting pages (#6684)
MikeZeDev Mar 2, 2024
6de4ffa
FIx welovemanga.one: getting pages (#6715)
MikeZeDev Mar 2, 2024
be68836
Fix HentaiRead: get chapters and pages (#6777)
MikeZeDev Mar 2, 2024
9754d0f
Fix ManhwaFreak: change fomain and filters (#6851)
MikeZeDev Mar 8, 2024
f2162ad
Fix LyraScans: change domain & rebrand (#6857)
MikeZeDev Mar 8, 2024
818f02f
Fix NeoxScan: change domain (#6860)
MikeZeDev Mar 8, 2024
0fd1456
FIx ResetScans : change domain (#6854)
MikeZeDev Mar 8, 2024
feb5278
Fix SwatManga : change domain (#6844)
MikeZeDev Mar 8, 2024
f3c17dc
Fix KomikNesia : change domain (#6873)
MikeZeDev Mar 12, 2024
3ec52d4
Fix MangaToon: change CSS for chapters (#6887)
MikeZeDev Mar 20, 2024
c355562
Fix ComicK: update domain (#6897)
MikeZeDev Mar 20, 2024
174c155
Fix MangaSail : change domain (#6898)
MikeZeDev Mar 20, 2024
c8f5ed6
Fix MangaBat : change domain (#6899)
MikeZeDev Mar 20, 2024
29f3622
Fix MangaStarz : change domain (#6901)
MikeZeDev Mar 23, 2024
4165fda
change domain (#6910)
PD-ZIRO Mar 26, 2024
24363e3
FIx Siyahmelek: change domain (#6915)
MikeZeDev Mar 29, 2024
bfe706d
Fix MangaTX : domain changed (#6916)
MikeZeDev Mar 29, 2024
63188f4
Fix TopToon : update CSS selectors (#6906)
MikeZeDev Mar 31, 2024
4448f8f
Fix MagKan: use Comici Viewer (#6927)
MikeZeDev Apr 1, 2024
39f99fd
Fix winterscan : change domain (#6935)
MikeZeDev Apr 4, 2024
fa1af62
fix MangaSect source (#6930)
kajack Apr 5, 2024
eecc59f
Fix MoonWitchInLove : change domain (#6942)
MikeZeDev Apr 5, 2024
7dfcccc
add connector monzeekomik (#6954)
akn19 Apr 9, 2024
cd46d74
Fix ComicExtra : change domain (#6951)
MikeZeDev Apr 15, 2024
f9aaca9
FIx KomikAV: domain type (#6881)
MikeZeDev Apr 15, 2024
32823e1
Fix Saikaiscan : change domain (#6963)
MikeZeDev Apr 15, 2024
a7c1a58
Fix LxHentai: change domain (#6970)
MikeZeDev Apr 16, 2024
4318aac
Lock ESLint Version (#6971)
ronny1982 Apr 16, 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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"asar": "latest",
"discord-rpc": "latest",
"electron": "8.3.4",
"eslint": "latest",
"eslint": "^8.57.0",
"fs-extra": "latest",
"innosetup-compiler": "latest",
"jest": "latest",
Expand All @@ -35,7 +35,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 added src/web/img/connectors/comicride
Binary file not shown.
Binary file added src/web/img/connectors/cypherscans
Binary file not shown.
Binary file added src/web/img/connectors/doujinku
Binary file not shown.
Binary file modified src/web/img/connectors/lyrascans
Binary file not shown.
Binary file added src/web/img/connectors/mangasusuku
Binary file not shown.
Binary file added src/web/img/connectors/monzeekomik
Binary file not shown.
Binary file added src/web/img/connectors/nyrax
Binary file not shown.
Binary file added src/web/img/connectors/perfscan
Binary file not shown.
Binary file modified src/web/img/connectors/prismascans
Binary file not shown.
Binary file modified src/web/img/connectors/randomscan
Binary file not shown.
Binary file added src/web/img/connectors/summertoon
Binary file not shown.
Binary file added src/web/img/connectors/templescan
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);
}
}
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.

3 changes: 2 additions & 1 deletion src/web/mjs/connectors/AsuraScans.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ export default class AsuraScans extends WordPressMangastream {
/panda_gif_large/i,
/2021\/04\/page100-10\.jpg/i,
/2021\/03\/20-ending-page-\.jpg/i,
/ENDING-PAGE/i
/ENDING-PAGE/i,
/EndDesignPSD/i
];

let images = [];
Expand Down
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)));
}

}
7 changes: 3 additions & 4 deletions src/web/mjs/connectors/AzoraManga.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import WordPressMadara from './templates/WordPressMadara.mjs';
import AzoraWorld from './AzoraWorld.mjs';

export default class AzoraManga extends WordPressMadara {
export default class AzoraManga extends AzoraWorld {

constructor() {
super();
super.id = 'azoramanga';
super.label = 'أزورا مانج (AZORA MANGA)';
this.tags = [ 'webtoon', 'arabic' ];
this.url = 'https://azoramanga.com';
}
}
}
15 changes: 13 additions & 2 deletions src/web/mjs/connectors/BeeToon.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class BeeToon extends WordPressZbulu {
}

canHandleURI(uri) {
return /(ww2\.)?beetoon\.net/.test(uri.hostname);
return /(ww\d+\.)?beetoon\.net/.test(uri.hostname);
}

async _initializeConnector() {
Expand All @@ -37,4 +37,15 @@ export default class BeeToon extends WordPressZbulu {
};
});
}
}

async _getPages(chapter) {
const pages = await super._getPages(chapter);
return pages
.map( page => {
let link = new URL(page);
link = link.searchParams.get('url') || link; //deproxify url if needed
return link.href;
})
.filter(page => !page.includes('/gadgets/proxy?'));//remove fake images (that were not deproxified)
}
}
2 changes: 1 addition & 1 deletion src/web/mjs/connectors/CeriseScans.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export default class CeriseScans extends WordPressMadaraNovel {
super.id = 'cerisescans';
super.label = 'Cerise Scans';
this.tags = [ 'manga', 'webtoon', 'portuguese', 'scanlation' ];
this.url = 'https://cerisescan.com';
this.url = 'https://cerisescan.net';
}
}
5 changes: 3 additions & 2 deletions src/web/mjs/connectors/Cmoa.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ export default class Cmoa extends SpeedBinb {

async _getChapters(manga) {
const request = new Request(new URL(manga.id, this.url), this.requestOptions);
const pages = await this.fetchDOM(request, '#comic_list > .pagination:nth-child(1) li');
const pages = await this.fetchDOM(request, '#comic_list > .pagination:nth-child(1) li:nth-last-child(2) a');
const chapters = [];
const totalPage = pages.length == 0 ? 1 : pages.length - 1;
const totalPage = pages.length == 0 ? 1 : parseInt(new URL(pages[0].href).searchParams.get('page'));

for (let i = 0; i < totalPage; i++) {
const uri = new URL(manga.id, this.url);
uri.searchParams.set('page', i + 1);
Expand Down
6 changes: 3 additions & 3 deletions src/web/mjs/connectors/ComicBushi.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ export default class ComicBushi extends CoreView {
constructor() {
super();
super.id = 'comicbushi';
super.label = 'コミックブシロードWEB (Comic Bushiroad WEB)';
super.label = 'コミックブシロードWEB (Comic Bushiroad WEB / Growl)';
this.tags = ['manga', 'japanese'];
this.url = 'https://comicbushi-web.com';
this.url = 'https://comic-growl.com';
this.path = ['/'];
this.queryManga = 'section#lineup ul.lineup-list div.lineup-item a';
this.queryMangaTitle = 'h5.title';
Expand All @@ -23,4 +23,4 @@ export default class ComicBushi extends CoreView {
};
});
}
}
}
Loading
Loading