This repository was archived by the owner on Nov 20, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +38
-11
lines changed
Expand file tree Collapse file tree 6 files changed +38
-11
lines changed Original file line number Diff line number Diff line change 44 HomeSection ,
55 Manga , MangaTile , MangaUpdates ,
66 PagedResults ,
7- Request ,
7+ Request , RequestManager ,
88 SearchRequest ,
99 Source ,
1010 SourceInfo ,
@@ -15,7 +15,7 @@ const BASE = "https://catmanga.org"
1515
1616export const CatMangaInfo : SourceInfo = {
1717 icon : "icon.png" ,
18- version : "1.2.1 " ,
18+ version : "1.2.2 " ,
1919 name : "CatManga" ,
2020 author : "PythonCoderAS" ,
2121 authorWebsite : "https://github.com/PythonCoderAS" ,
@@ -29,6 +29,11 @@ export class CatManga extends Source {
2929
3030 private readonly parser : CatMangaParser = new CatMangaParser ( ) ;
3131
32+ readonly requestManager : RequestManager = createRequestManager ( {
33+ requestsPerSecond : 5 ,
34+ requestTimeout : 10000
35+ } ) ;
36+
3237 getMangaShareUrl ( mangaId : string ) : string | null {
3338 return `${ BASE } /series/${ mangaId } ` ;
3439 }
Original file line number Diff line number Diff line change 44 HomeSection ,
55 Manga , MangaUpdates ,
66 PagedResults ,
7- Request ,
7+ Request , RequestManager ,
88 SearchRequest ,
99 Source ,
1010 SourceInfo ,
@@ -15,7 +15,7 @@ const BASE = "https://glitchycomics.com"
1515
1616export const GlitchyComicsInfo : SourceInfo = {
1717 icon : "icon.png" ,
18- version : "1.1.1 " ,
18+ version : "1.1.2 " ,
1919 name : "GlitchyComics" ,
2020 author : "PythonCoderAS" ,
2121 authorWebsite : "https://github.com/PythonCoderAS" ,
@@ -29,6 +29,11 @@ export class GlitchyComics extends Source {
2929
3030 private readonly parser : GlitchyComicsParser = new GlitchyComicsParser ( ) ;
3131
32+ readonly requestManager : RequestManager = createRequestManager ( {
33+ requestsPerSecond : 5 ,
34+ requestTimeout : 10000
35+ } ) ;
36+
3237 getMangaShareUrl ( mangaId : string ) : string | null {
3338 return `${ BASE } /${ mangaId } ` ;
3439 }
Original file line number Diff line number Diff line change 55 Manga ,
66 MangaUpdates ,
77 PagedResults ,
8- Request ,
8+ Request , RequestManager ,
99 SearchRequest ,
1010 Source ,
1111 SourceInfo ,
@@ -17,7 +17,7 @@ const BASE = "https://www.novelcool.com"
1717
1818export const NovelCoolInfo : SourceInfo = {
1919 icon : "icon.png" ,
20- version : "1.0.1 " ,
20+ version : "1.0.2 " ,
2121 name : "NovelCool" ,
2222 author : "PythonCoderAS" ,
2323 authorWebsite : "https://github.com/PythonCoderAS" ,
@@ -31,6 +31,11 @@ export class NovelCool extends Source {
3131
3232 private readonly parser : NovelCoolParser = new NovelCoolParser ( ) ;
3333
34+ readonly requestManager : RequestManager = createRequestManager ( {
35+ requestsPerSecond : 5 ,
36+ requestTimeout : 10000
37+ } ) ;
38+
3439 getMangaShareUrl ( mangaId : string ) : string {
3540 return `${ BASE } /novel/${ mangaId } .html` ;
3641 }
Original file line number Diff line number Diff line change 44 HomeSection ,
55 Manga , MangaTile , MangaUpdates ,
66 PagedResults ,
7- Request ,
7+ Request , RequestManager ,
88 SearchRequest ,
99 Source ,
1010 SourceInfo ,
@@ -15,7 +15,7 @@ const BASE = "https://rainofsnow.com"
1515
1616export const RainOfSnowInfo : SourceInfo = {
1717 icon : "icon.png" ,
18- version : "1.3.2 " ,
18+ version : "1.3.3 " ,
1919 name : "RainOfSnow" ,
2020 author : "PythonCoderAS" ,
2121 authorWebsite : "https://github.com/PythonCoderAS" ,
@@ -29,6 +29,11 @@ export class RainOfSnow extends Source {
2929
3030 private readonly parser : RainOfSnowParser = new RainOfSnowParser ( ) ;
3131
32+ readonly requestManager : RequestManager = createRequestManager ( {
33+ requestsPerSecond : 5 ,
34+ requestTimeout : 10000
35+ } ) ;
36+
3237 getMangaShareUrl ( mangaId : string ) : string | null {
3338 return `${ BASE } /comic/${ mangaId } ` ;
3439 }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const BASE = "https://raw.senmanga.com"
1717
1818export const SenMangaInfo : SourceInfo = {
1919 icon : "icon.png" ,
20- version : "1.0.2 " ,
20+ version : "1.0.3 " ,
2121 name : "SenManga" ,
2222 author : "PythonCoderAS" ,
2323 authorWebsite : "https://github.com/PythonCoderAS" ,
@@ -31,6 +31,7 @@ export class SenManga extends Source {
3131
3232 private readonly parser : SenMangaParser = new SenMangaParser ( ) ;
3333
34+
3435 private readonly header : RequestHeaders = {
3536 "user-agent" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36"
3637 }
Original file line number Diff line number Diff line change 44 HomeSection ,
55 Manga , MangaTile , MangaUpdates ,
66 PagedResults ,
7- Request ,
7+ Request , RequestManager ,
88 SearchRequest ,
99 Source ,
1010 SourceInfo ,
@@ -15,7 +15,7 @@ const BASE = "https://voidscans.net"
1515
1616export const VoidScansInfo : SourceInfo = {
1717 icon : "icon.svg" ,
18- version : "1.3.1 " ,
18+ version : "1.3.2 " ,
1919 name : "VoidScans" ,
2020 author : "PythonCoderAS" ,
2121 authorWebsite : "https://github.com/PythonCoderAS" ,
@@ -29,6 +29,12 @@ export class VoidScans extends Source {
2929
3030 private readonly parser : VoidScansParser = new VoidScansParser ( ) ;
3131
32+
33+ readonly requestManager : RequestManager = createRequestManager ( {
34+ requestsPerSecond : 5 ,
35+ requestTimeout : 10000
36+ } ) ;
37+
3238 getMangaShareUrl ( mangaId : string ) : string | null {
3339 return `${ BASE } /library/${ mangaId } ` ;
3440 }
You can’t perform that action at this time.
0 commit comments