Skip to content

Commit

Permalink
FIX DragonTranslation : url and selectors (#5977)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeZeDev authored and Sheepux committed Jan 2, 2024
1 parent 52322ac commit 72116a2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/web/mjs/connectors/DragonTranslation.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ export default class DragonTranslation extends WordPressMadara {
super.id = 'dragontranslation';
super.label = 'DragonTranslation';
this.tags = [ 'webtoon', 'hentai', 'spanish' ];
this.url = 'https://dragontranslation.com';
this.url = 'https://dragontranslation.net';
this.queryMangas = 'div.series-box a';
this.queryChapters ='li.wp-manga-chapter a';
this.queryChaptersTitleBloat = 'span';
this.queryPages = 'div#chapter_imgs source';
}
}

_createMangaRequest(page) {
return new Request(new URL(`/mangas?page=${page}`, this.url), this.requestOptions);
}
}

0 comments on commit 72116a2

Please sign in to comment.