Skip to content

Commit

Permalink
Add VortexScansFree
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeZeDev committed Jan 8, 2025
1 parent 8da77bc commit 1e27579
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
21 changes: 21 additions & 0 deletions web/src/engine/websites/VortexScansFree.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { Tags } from '../Tags';
import icon from './VortexScans.webp';
import { DecoratableMangaScraper } from '../providers/MangaPlugin';
import * as MangaStream from './decorators/WordPressMangaStream';
import * as Common from './decorators/Common';

@MangaStream.MangaCSS(/^{origin}\/manga\/[^/]+\/$/)
@MangaStream.MangasSinglePageCSS()
@MangaStream.ChaptersSinglePageCSS()
@MangaStream.PagesSinglePageJS()
@Common.ImageAjax()
export default class extends DecoratableMangaScraper {

public constructor() {
super('vortexscansfree', 'Vortex Scans Free', 'https://vortexscansfree.com', Tags.Media.Manhwa, Tags.Media.Manhua, Tags.Language.English, Tags.Source.Aggregator);
}

public override get Icon() {
return icon;
}
}
22 changes: 22 additions & 0 deletions web/src/engine/websites/VortexScansFree_e2e.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { TestFixture } from '../../../test/WebsitesFixture';

new TestFixture({
plugin: {
id: 'vortexscansfree',
title: 'Vortex Scans Free'
},
container: {
url: 'https://vortexscansfree.com/manga/apocalyptic-chef-awakening/',
id: '/manga/apocalyptic-chef-awakening/',
title: 'Apocalyptic Chef Awakening'
},
child: {
id: '/apocalyptic-chef-awakening-chapter-1/',
title: 'Chapter 1'
},
entry: {
index: 4,
size: 585_984,
type: 'image/webp'
}
}).AssertWebsite();
1 change: 1 addition & 0 deletions web/src/engine/websites/_index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,7 @@ export { default as VerManhwa } from './VerManhwa';
export { default as ViewComics } from './ViewComics';
export { default as VNSharing } from './VNSharing';
export { default as VortexScans } from './VortexScans';
export { default as VortexScansFree } from './VortexScansFree';
export { default as VyManga } from './VyManga';
export { default as WebAce } from './WebAce';
export { default as WebComicsApp } from './WebComicsApp';
Expand Down

0 comments on commit 1e27579

Please sign in to comment.