Skip to content

Commit 1bb3695

Browse files
committed
chore: disable Blankary support due to platform limitations
fix: zenko image href
1 parent 2be666b commit 1bb3695

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Chytanka supports opening episodes from the following platforms:
1010

11-
- [x] [Blankary](https://blankary.com)
11+
- [x] ~~[Blankary](https://blankary.com)~~ (image support has been discontinued)
1212
- [x] [Comick](https://comick.io)
1313
- [x] [Imgur](https://imgur.com)
1414
- [x] [Mangadex](https://mangadex.org)

src/app/@site-modules/zenko/zenko.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class ZenkoService {
3232

3333
images: (data.pages.map((item: any) => {
3434
return {
35-
src: item.imgUrl
35+
src: item.imgUrl || item.content
3636
};
3737
})).filter((i: any) => i.src).map((img: any) => { return { src: this.proxy.proxyUrl(`https://zenko.b-cdn.net/${img.src}?optimizer=image&width=900&quality=90&height=auto`) } })
3838

src/app/app-routing.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const BLANKARY_PATH = 'blankary';
3131
export const FILE_PATH = 'file';
3232

3333
const linkParserMod: LoadChildrenCallback = () => import('./link-parser/link-parser.module').then(m => m.LinkParserModule)
34-
const blankaryMod = () => import('./@site-modules/blankary/blankary-shell.component')
34+
// const blankaryMod = () => import('./@site-modules/blankary/blankary-shell.component')
3535
const comickMod = () => import('./@site-modules/comick/comick-shell.component')
3636
const imgurMod = () => import('./@site-modules/imgur/imgur-shell.component')
3737
const mangadexMod = () => import('./@site-modules/mangadex/mangadex-shell.component')
@@ -49,7 +49,7 @@ const COMPARE_OUTLET_NAME = 'right'
4949
type LoadComponentType = (() => Type<unknown> | Observable<Type<unknown> | DefaultExport<Type<unknown>>> | Promise<Type<unknown> | DefaultExport<Type<unknown>>>) | undefined;
5050

5151
const siteModulesMap = new Map<string, LoadComponentType>()
52-
.set(BLANKARY_PATH + '/:id', blankaryMod)
52+
// .set(BLANKARY_PATH + '/:id', blankaryMod)
5353
.set(COMICK_PATH + '/:id', comickMod)
5454
.set(IMGUR_PATH + '/:id', imgurMod)
5555
.set(MANGADEX_PATH + '/:id', mangadexMod)

src/app/link-parser/data-access/link-parser.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class LinkParserService {
1717
"Comick",
1818
"NHentai",
1919
"Yandere Pools",
20-
"Blankary",
20+
// "Blankary",
2121
"Pixiv"
2222
].sort())
2323

src/app/link-parser/ui/parser-form/parser-form.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class ParserFormComponent {
4444
this.parser.parsers.push(new ComickLinkParser)
4545
this.parser.parsers.push(new YandereParser)
4646
this.parser.parsers.push(new PixivLinkParser)
47-
this.parser.parsers.push(new BlankaryLinkParser)
47+
// this.parser.parsers.push(new BlankaryLinkParser)
4848
this.parser.parsers.push(new JsonLinkParser)
4949
}
5050

@@ -107,7 +107,7 @@ export class ParserFormComponent {
107107
comick: '//comick.io/favicon.ico',
108108
yandere: '//yande.re/favicon.ico',
109109
pixiv: '//pixiv.net/favicon.ico',
110-
blankary: '//blankary.com/favicon.ico',
110+
// blankary: '//blankary.com/favicon.ico',
111111
read: 'data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🗯️</text></svg>'
112112
}
113113
}

src/app/list/list-shell/list-shell.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class ListShellComponent {
9292
this.parser.parsers.push(new ComickLinkParser)
9393
this.parser.parsers.push(new YandereParser)
9494
this.parser.parsers.push(new PixivLinkParser)
95-
this.parser.parsers.push(new BlankaryLinkParser)
95+
// this.parser.parsers.push(new BlankaryLinkParser)
9696
this.parser.parsers.push(new JsonLinkParser)
9797
}
9898

0 commit comments

Comments
 (0)