Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Yentis committed Mar 29, 2024
1 parent 9b713f6 commit e050181
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 41 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quasar-manga-reader",
"version": "2.23.8",
"version": "2.23.9",
"description": "Manga reader that scrapes manga sites for updates",
"productName": "Manga Reader",
"author": "Yentis#5218",
Expand Down
2 changes: 1 addition & 1 deletion src-cordova/config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="org.cordova.manga.reader" version="2.23.8" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<widget id="org.cordova.manga.reader" version="2.23.9" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Manga Reader</name>
<description>Manga reader that scrapes manga sites for updates</description>
<author email="[email protected]" href="http://cordova.io">
Expand Down
6 changes: 3 additions & 3 deletions src/services/test/asurascans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ async function readUrl(site: BaseSite): Promise<void> {
desired.image =
'https://img.asuracomics.com/unsafe/fit-in/720x936/https://asuratoon.com/wp-content/uploads/2021/02/ponytail_boy_.png'
desired.title = 'Mookhyang The Origin'
desired.chapterUrl = 'https://asuratoon.com/0873280421-mookhyang-the-origin-chapter-47/'
desired.chapterUrl = 'https://asuratoon.com/4631981187-mookhyang-the-origin-chapter-47/'
desired.chapterNum = 47
desired.chapterDate = '2 years ago'
desired.chapterDate = '3 years ago'

mangaEqual(manga, desired)
}
Expand All @@ -38,7 +38,7 @@ async function readUrlAdvanced(): Promise<void> {
desired.image =
'https://img.asuracomics.com/unsafe/fit-in/720x936/https://asuratoon.com/wp-content/uploads/2021/02/cover4.gif'
desired.title = 'Solo Bug Player'
desired.chapterUrl = 'https://asuratoon.com/0873280421-solo-bug-player-chapter-88/'
desired.chapterUrl = 'https://asuratoon.com/4631981187-solo-bug-player-chapter-88/'
desired.chapterNum = 88

mangaEqual(manga, desired)
Expand Down
14 changes: 8 additions & 6 deletions src/services/test/batoto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ export async function testBatoto(): Promise<void> {
async function readUrl(site: BaseSite): Promise<void> {
const manga = await getMangaInfo(site.getTestUrl(), SITE_TYPE)
const desired = new Manga(site.getTestUrl(), SITE_TYPE)
desired.chapter = 'Chapter 143 [END]'
const chapter = 1

desired.chapter = `Sequel ${1}`
desired.title = 'Doctor Elise: The Royal Lady with the Lamp'
desired.image =
'https://xfs-s104.batcg.org/thumb/W600/ampi/bab/babb58b5b128acf2a01d5710f77d67e1af8a6fe7_420_610_328588.jpeg'
desired.chapterUrl = 'https://bato.to/chapter/1629009'
desired.chapterNum = 143
desired.chapterDate = '3 years ago'
'https://xfs-n14.xfsbb.com/thumb/W600/ampi/6c5/6c5a266892eee0a9aa82b7acbf5447a8f3c1cbf1_294_427_94286.jpeg'
desired.chapterUrl = 'https://bato.to/chapter/2765669'
desired.chapterNum = chapter
desired.chapterDate = '6 days ago'

mangaEqual(manga, desired)
}
Expand All @@ -33,7 +35,7 @@ async function search(site: BaseSite): Promise<void> {
const results = await searchManga(QUERY, SITE_TYPE)
const desired = new Manga(site.getTestUrl(), SITE_TYPE)
desired.image =
'https://xfs-s106.batcg.org/thumb/W300/ampi/cd4/cd43759af3efabf4e16729443a0244b9d76df0fe_420_610_295421.jpg'
'https://xfs-n06.xfsbb.com/thumb/W300/ampi/cd4/cd43759af3efabf4e16729443a0244b9d76df0fe_420_610_295421.jpg'
desired.chapter = 'Ch.88'
desired.url = 'https://bato.to/series/75371/i-found-somebody-to-love'

Expand Down
6 changes: 3 additions & 3 deletions src/services/test/cubari.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ export async function testCubari(): Promise<void> {
async function readUrl(site: BaseSite): Promise<void> {
const manga = await getMangaInfo(site.getTestUrl(), SITE_TYPE)
const desired = new Manga(site.getTestUrl(), SITE_TYPE)
const chapter = 199
const chapter = 196

desired.chapter = `Chapter ${chapter}: That's right!`
desired.chapter = `Chapter ${chapter}: Threat`
desired.image = 'https://services.f-ck.me/v1/image/aHR0cHM6Ly9maWxlcy5jYXRib3gubW9lLzM1dXE1NS5wbmc='
desired.title = 'One Punch Man'
desired.chapterUrl = `https://cubari.moe/read/gist/OPM/${chapter}/1/`
desired.chapterNum = chapter
desired.chapterDate = '19 days ago'
desired.chapterDate = '9 days ago'

mangaEqual(manga, desired)
}
Expand Down
8 changes: 4 additions & 4 deletions src/services/test/likemanga.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ export async function testLikeManga(): Promise<void> {
async function readUrl(site: BaseSite): Promise<void> {
const manga = await getMangaInfo(site.getTestUrl(), SITE_TYPE)
const desired = new Manga(site.getTestUrl(), SITE_TYPE)
const chapter = 61
const chapter = 62

desired.chapter = `Chapter ${chapter}`
desired.image =
'https://likemanga.io/upload/pages/2023/08/1691374019-64d051c30c110-theelegantseaofsavagery1215331872193x278.jpg'
desired.title = 'The Elegant Sea of Savagery'
desired.chapterUrl = 'https://likemanga.io/the-elegant-sea-of-savagery-1615/chapter-61-317149/'
desired.chapterUrl = 'https://likemanga.io/the-elegant-sea-of-savagery-1615/chapter-62-992773/'
desired.chapterNum = chapter
desired.chapterDate = '5 months ago'
desired.chapterDate = '4 days ago'

mangaEqual(manga, desired)
}
Expand All @@ -36,7 +36,7 @@ async function search(site: BaseSite): Promise<void> {
const desired = new Manga(site.getTestUrl(), SITE_TYPE)
desired.image =
'https://likemanga.io/upload/pages/2023/08/1691374019-64d051c30c110-theelegantseaofsavagery1215331872193x278.jpg'
desired.chapter = 'Chapter 61'
desired.chapter = 'Chapter 62'
desired.url = 'https://likemanga.io/the-elegant-sea-of-savagery-1615/'

return searchValid(results, desired, QUERY)
Expand Down
12 changes: 6 additions & 6 deletions src/services/test/lscomic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ export async function testLSComic(): Promise<void> {
async function readUrl(site: BaseSite): Promise<void> {
const manga = await getMangaInfo(site.getTestUrl(), SITE_TYPE)
const desired = new Manga(site.getTestUrl(), SITE_TYPE)
const chapter = 115
const chapter = 123

desired.chapter = `Chapter ${chapter}`
desired.image = 'https://lscomic.com/wp-content/uploads/2023/09/bannerTCF.jpg'
desired.title = 'Trash of the Count’s Family'
desired.chapterUrl = `https://lscomic.com/manga/trash-of-the-counts-family/chapter-${chapter}/`
desired.title = 'The Count’s Lazy Firstborn'
desired.chapterUrl = `https://lscomic.com/manga/tcf/chapter-${chapter}/`
desired.chapterNum = chapter
desired.chapterDate = '2 days ago'
desired.chapterDate = '6 days ago'

mangaEqual(manga, desired)
}
Expand All @@ -35,7 +35,7 @@ async function readUrlCorrectSeasonOrder(): Promise<void> {
const url = 'https://lscomic.com/manga/tale-of-a-scribe-who-retires-to-the-countryside/'
const manga = await getMangaInfo(url, SITE_TYPE)
const desired = new Manga(url, SITE_TYPE)
const chapter = 189
const chapter = 199

desired.chapter = `Chapter ${chapter}`
desired.image = 'https://lscomic.com/wp-content/uploads/2023/09/bannerTSRC.jpg'
Expand All @@ -50,7 +50,7 @@ async function search(site: BaseSite): Promise<void> {
const results = await searchManga(QUERY, SITE_TYPE)
const desired = new Manga(site.getTestUrl(), SITE_TYPE)
desired.image = 'https://lscomic.com/wp-content/uploads/2023/09/coverS5-193x278.jpg'
desired.chapter = 'Chapter 260'
desired.chapter = 'Chapter 270'
desired.url = 'https://lscomic.com/manga/volcanic-age/'

return searchValid(results, desired, QUERY)
Expand Down
2 changes: 1 addition & 1 deletion src/services/test/luminousscans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function search(site: BaseSite): Promise<void> {
const results = await searchManga(QUERY, SITE_TYPE)
const desired = new Manga(site.getTestUrl(), SITE_TYPE)
desired.image = `${site.getUrl()}/wp-content/uploads/2021/07/LONBAnimGif1-212x300.gif`
desired.chapter = '178.5'
desired.chapter = '182'
desired.url = `${site.getUrl()}/series?p=5424`

await searchValid(results, desired, QUERY)
Expand Down
6 changes: 3 additions & 3 deletions src/services/test/resetscans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ export async function testResetScans(): Promise<void> {
async function readUrl(site: BaseSite): Promise<void> {
const manga = await getMangaInfo(site.getTestUrl(), SITE_TYPE)
const desired = new Manga(`${site.getUrl()}/manga/the-unwanted-undead-adventurer/`, SITE_TYPE)
const chapter = 60
const chapter = 61

desired.chapter = `Chapter ${chapter}`
desired.image = `${site.getUrl()}/wp-content/uploads/2021/06/UNWANTED-UNDEAD-350x476.webp`
desired.title = 'The Unwanted Undead Adventurer'
desired.chapterUrl = `${site.getUrl()}/manga/the-unwanted-undead-adventurer/chapter-${chapter}/`
desired.chapterNum = chapter
desired.chapterDate = '21 days ago'
desired.chapterDate = '12 days ago'

mangaEqual(manga, desired)
}
Expand All @@ -34,7 +34,7 @@ async function search(site: BaseSite): Promise<void> {
const results = await searchManga(QUERY, SITE_TYPE)
const desired = new Manga(site.getTestUrl(), SITE_TYPE)
desired.image = `${site.getUrl()}/wp-content/uploads/2022/11/Karate-Baka-Isekai-193x278.webp`
desired.chapter = 'Chapter 25'
desired.chapter = 'Chapter 26'
desired.url = `${site.getUrl()}/manga/karate-baka-isekai/`

return searchValid(results, desired, QUERY)
Expand Down
14 changes: 7 additions & 7 deletions src/services/test/tapas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ export async function testTapas(): Promise<void> {
async function readUrl(site: BaseSite): Promise<void> {
const manga = await getMangaInfo(site.getTestUrl(), SITE_TYPE)
const desired = new Manga(site.getTestUrl(), SITE_TYPE)
const chapter = 131
const chapter = 139

desired.chapter = `${chapter}. Making It Official`
desired.chapter = `${chapter}. Emily`
desired.image = 'https://us-a.tapas.io/sa/92/7c0dcaff-6150-4a77-8690-90a3863d2925_z.jpg'
desired.title = 'Villains Are Destined to Die'
desired.chapterUrl = 'https://tapas.io/episode/3057695'
desired.chapterUrl = 'https://tapas.io/episode/3104004'
desired.chapterNum = chapter + 12
desired.chapterDate = '5 days ago'
desired.chapterDate = '2 days ago'

mangaEqual(manga, desired)
}

async function readUrlReverseOrder(): Promise<void> {
const manga = await getMangaInfo('https://tapas.io/series/mystic-musketeer/info', SITE_TYPE)
const desired = new Manga('https://tapas.io/series/mystic-musketeer/info', SITE_TYPE)
const chapter = 122
const chapter = 132

desired.chapter = `Episode ${chapter}`
desired.image = 'https://us-a.tapas.io/sa/6e/fa82be22-6637-48e7-a6a0-b33b70e3d169_z.jpg'
desired.title = 'Mystic Musketeer'
desired.chapterUrl = 'https://tapas.io/episode/3043990'
desired.chapterUrl = 'https://tapas.io/episode/3110221'
desired.chapterNum = chapter

mangaEqual(manga, desired)
Expand All @@ -49,7 +49,7 @@ async function search(site: BaseSite): Promise<void> {
const results = await searchManga(QUERY, SITE_TYPE)
const desired = new Manga(site.getTestUrl(), SITE_TYPE)
desired.image = 'https://us-a.tapas.io/sa/6e/fa82be22-6637-48e7-a6a0-b33b70e3d169_z.jpg'
desired.chapter = 'Episode 122'
desired.chapter = 'Episode 132'
desired.url = 'https://tapas.io/series/mystic-musketeer/info'

return searchValid(results, desired, QUERY)
Expand Down
10 changes: 5 additions & 5 deletions src/services/test/tappytoon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getMangaInfo, getSite, searchManga } from '../siteService'
import { mangaEqual, searchValid } from '../testService'

const SITE_TYPE = SiteType.Tappytoon
const QUERY = 'return survival'
const QUERY = "the reason why raeliana ended up at the duke's mansion"

export async function testTappytoon(): Promise<void> {
const site = getSite(SITE_TYPE)
Expand All @@ -25,17 +25,17 @@ async function readUrl(site: BaseSite): Promise<void> {
desired.title = 'Return Survival'
desired.chapterUrl = 'https://www.tappytoon.com/en/chapters/157346352'
desired.chapterNum = chapter
desired.chapterDate = 'a month ago'
desired.chapterDate = '4 months ago'

mangaEqual(manga, desired)
}

async function search(site: BaseSite): Promise<void> {
const results = await searchManga(QUERY, SITE_TYPE)
const desired = new Manga(site.getTestUrl(), SITE_TYPE)
desired.image = 'https://d1ed0vta5mrb00.cloudfront.net/comics/482/thumbnails/b9e789c4-d9c7-4273-bdfd-2c01ec69aedc.jpg'
desired.chapter = 'Episode 109'
desired.url = 'https://www.tappytoon.com/en/book/return-survival'
desired.image = 'https://image-repository-cdn.tappytoon.com/series/163/ccfd0062-a4bc-44d5-80ce-22f570dc058b.jpg'
desired.chapter = 'Epilogue 11: Finale'
desired.url = 'https://www.tappytoon.com/en/book/raeliana'

return searchValid(results, desired, QUERY)
}
2 changes: 1 addition & 1 deletion src/services/test/zeroscans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function readUrl(site: BaseSite): Promise<void> {
desired.title = 'All Heavenly Days'
desired.chapterUrl = `${site.getUrl()}/comics/all-heavenly-days/384`
desired.chapterNum = 48
desired.chapterDate = 'a year ago'
desired.chapterDate = '2 years ago'

mangaEqual(manga, desired)
}
Expand Down

0 comments on commit e050181

Please sign in to comment.