Skip to content

Commit

Permalink
Fix MangaBat : change domain (#6899)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeZeDev authored and ronny1982 committed Jul 27, 2024
1 parent 2b15c8c commit faf9ae1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/web/mjs/connectors/MangaBat.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default class MangaBat extends MangaNel {
super.id = 'mangabat';
super.label = 'MangaBat';
this.tags = [ 'manga', 'webtoon', 'english' ];
this.url = 'https://m.mangabat.com';
this.url = 'https://h.mangabat.com';

this.path = '/manga-list-all/';
this.queryMangas = 'div.panel-list-story div.list-story-item h3 a.item-title';
Expand All @@ -16,6 +16,6 @@ export default class MangaBat extends MangaNel {

canHandleURI(uri) {
// Test: https://regex101.com/r/GlzAw2/2/tests
return /^(m\.|read\.)?mangabat\.com$/.test(uri.hostname);
return /^(m\.|read\.|h\.)?mangabat\.com$/.test(uri.hostname);
}
}
}

0 comments on commit faf9ae1

Please sign in to comment.