Skip to content

Commit a03fc8c

Browse files
authored
MangaBox: Update Selectors (#150)
* Update mangaListSelector to reflect site changes. * Update Manga description selector.
1 parent f1381d6 commit a03fc8c

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/MangaBat/MangaBat.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
const SITE_DOMAIN = 'https://www.mangabats.com'
1313

1414
export const MangaBatInfo: SourceInfo = {
15-
version: getExportVersion('4.0.1'),
15+
version: getExportVersion('4.0.2'),
1616
name: 'MangaBat',
1717
icon: 'icon.png',
1818
author: 'Batmeow',
@@ -38,7 +38,7 @@ export class MangaBat extends MangaBox {
3838
mangaListHomeSectionsPath = 'all'
3939

4040
// Selector for manga in manga list.
41-
mangaListSelector = 'div.truyen-list div.list-truyen-item-wrap'
41+
mangaListSelector = 'div.comic-list div.list-comic-item-wrap'
4242

4343
// Selector for subtitle in manga list.
4444
mangaSubtitleSelector = 'a.list-story-item-wrap-chapter'

src/MangaBox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export abstract class MangaBox implements SearchResultsProviding, MangaProviding
9696
+ 'ul.manga-info-text li:contains(Author) a'
9797

9898
// Selector for manga description.
99-
mangaDescSelector = 'div.chapter + div#contentBox, div#panel-story-info-description, div#noidungm, div.manga-info-top + div#contentBox'
99+
mangaDescSelector = 'div.leftCol div#contentBox, div.chapter + div#contentBox, div#panel-story-info-description, div.manga-info-top + div#contentBox'
100100

101101
// Selector for manga tags.
102102
mangaGenresSelector = 'div.story-info-right td:contains(Genre) + td a,'

src/MangakakalotGG/MangakakalotGG.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
const SITE_DOMAIN = 'https://www.mangakakalot.gg'
1313

1414
export const MangakakalotGGInfo: SourceInfo = {
15-
version: getExportVersion('0.1.3'),
15+
version: getExportVersion('0.1.4'),
1616
name: 'MangakakalotGG',
1717
icon: 'icon.png',
1818
author: 'Batmeow',
@@ -38,7 +38,7 @@ export class MangakakalotGG extends MangaBox {
3838
mangaListHomeSectionsPath = 'all'
3939

4040
// Selector for manga in manga list.
41-
mangaListSelector = 'div.truyen-list div.list-truyen-item-wrap'
41+
mangaListSelector = 'div.comic-list div.list-comic-item-wrap'
4242

4343
// Selector for subtitle in manga list.
4444
mangaSubtitleSelector = 'a.list-story-item-wrap-chapter'

src/Manganato/Manganato.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
const SITE_DOMAIN = 'https://www.manganato.gg'
1313

1414
export const ManganatoInfo: SourceInfo = {
15-
version: getExportVersion('4.0.1'),
15+
version: getExportVersion('4.0.2'),
1616
name: 'Manganato',
1717
icon: 'icon.png',
1818
author: 'Batmeow',
@@ -38,7 +38,7 @@ export class Manganato extends MangaBox {
3838
mangaListHomeSectionsPath = 'all'
3939

4040
// Selector for manga in manga list.
41-
mangaListSelector = 'div.truyen-list div.list-truyen-item-wrap'
41+
mangaListSelector = 'div.comic-list div.list-comic-item-wrap'
4242

4343
// Selector for subtitle in manga list.
4444
mangaSubtitleSelector = 'a.list-story-item-wrap-chapter'

src/Natomanga/Natomanga.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
const SITE_DOMAIN = 'https://www.natomanga.com'
1313

1414
export const NatomangaInfo: SourceInfo = {
15-
version: getExportVersion('0.1.3'),
15+
version: getExportVersion('0.1.4'),
1616
name: 'Natomanga',
1717
icon: 'icon.png',
1818
author: 'Batmeow',
@@ -38,7 +38,7 @@ export class Natomanga extends MangaBox {
3838
mangaListHomeSectionsPath = 'all'
3939

4040
// Selector for manga in manga list.
41-
mangaListSelector = 'div.truyen-list div.list-truyen-item-wrap'
41+
mangaListSelector = 'div.comic-list div.list-comic-item-wrap'
4242

4343
// Selector for subtitle in manga list.
4444
mangaSubtitleSelector = 'a.list-story-item-wrap-chapter'

0 commit comments

Comments
 (0)