Skip to content

Commit

Permalink
Toongod : fix getting chapters
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeZeDev committed Jan 12, 2025
1 parent ac60ca9 commit 0e5065e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion web/src/engine/websites/ToonGod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as Common from './decorators/Common';

@Madara.MangaCSS(/^{origin}\/webtoon\/[^/]+\/$/, 'ol.breadcrumb li:last-of-type a')
@Madara.MangasMultiPageCSS(undefined, 0, '/home/page/{page}/')
@Madara.ChaptersSinglePageAJAXv2()
@Madara.ChaptersSinglePageCSS()
@Madara.PagesSinglePageCSS()
@Common.ImageAjax()
export default class extends DecoratableMangaScraper {
Expand Down
10 changes: 4 additions & 6 deletions web/src/engine/websites/ToonGod_e2e.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* NW.js crash on website initialize => CloudFlare
import { TestFixture } from '../../../test/WebsitesFixture';
const config = {
new TestFixture({
plugin: {
id: 'toongod',
title: 'ToonGod'
},
/* CloudFlare
container: {
url: 'https://www.toongod.org/webtoon/i-stole-the-number-one-rankers-soul/',
id: JSON.stringify({ post: '9019', slug: '/webtoon/i-stole-the-number-one-rankers-soul/' }),
Expand All @@ -20,7 +20,5 @@ const config = {
size: 704_355,
type: 'image/jpeg'
}
*/
};

new TestFixture(config).AssertWebsite();
}).AssertWebsite();
*/

0 comments on commit 0e5065e

Please sign in to comment.