This repository was archived by the owner on Nov 20, 2021. It is now read-only.
File tree 6 files changed +38
-11
lines changed
6 files changed +38
-11
lines changed Original file line number Diff line number Diff line change 4
4
HomeSection ,
5
5
Manga , MangaTile , MangaUpdates ,
6
6
PagedResults ,
7
- Request ,
7
+ Request , RequestManager ,
8
8
SearchRequest ,
9
9
Source ,
10
10
SourceInfo ,
@@ -15,7 +15,7 @@ const BASE = "https://catmanga.org"
15
15
16
16
export const CatMangaInfo : SourceInfo = {
17
17
icon : "icon.png" ,
18
- version : "1.2.1 " ,
18
+ version : "1.2.2 " ,
19
19
name : "CatManga" ,
20
20
author : "PythonCoderAS" ,
21
21
authorWebsite : "https://github.com/PythonCoderAS" ,
@@ -29,6 +29,11 @@ export class CatManga extends Source {
29
29
30
30
private readonly parser : CatMangaParser = new CatMangaParser ( ) ;
31
31
32
+ readonly requestManager : RequestManager = createRequestManager ( {
33
+ requestsPerSecond : 5 ,
34
+ requestTimeout : 10000
35
+ } ) ;
36
+
32
37
getMangaShareUrl ( mangaId : string ) : string | null {
33
38
return `${ BASE } /series/${ mangaId } ` ;
34
39
}
Original file line number Diff line number Diff line change 4
4
HomeSection ,
5
5
Manga , MangaUpdates ,
6
6
PagedResults ,
7
- Request ,
7
+ Request , RequestManager ,
8
8
SearchRequest ,
9
9
Source ,
10
10
SourceInfo ,
@@ -15,7 +15,7 @@ const BASE = "https://glitchycomics.com"
15
15
16
16
export const GlitchyComicsInfo : SourceInfo = {
17
17
icon : "icon.png" ,
18
- version : "1.1.1 " ,
18
+ version : "1.1.2 " ,
19
19
name : "GlitchyComics" ,
20
20
author : "PythonCoderAS" ,
21
21
authorWebsite : "https://github.com/PythonCoderAS" ,
@@ -29,6 +29,11 @@ export class GlitchyComics extends Source {
29
29
30
30
private readonly parser : GlitchyComicsParser = new GlitchyComicsParser ( ) ;
31
31
32
+ readonly requestManager : RequestManager = createRequestManager ( {
33
+ requestsPerSecond : 5 ,
34
+ requestTimeout : 10000
35
+ } ) ;
36
+
32
37
getMangaShareUrl ( mangaId : string ) : string | null {
33
38
return `${ BASE } /${ mangaId } ` ;
34
39
}
Original file line number Diff line number Diff line change 5
5
Manga ,
6
6
MangaUpdates ,
7
7
PagedResults ,
8
- Request ,
8
+ Request , RequestManager ,
9
9
SearchRequest ,
10
10
Source ,
11
11
SourceInfo ,
@@ -17,7 +17,7 @@ const BASE = "https://www.novelcool.com"
17
17
18
18
export const NovelCoolInfo : SourceInfo = {
19
19
icon : "icon.png" ,
20
- version : "1.0.1 " ,
20
+ version : "1.0.2 " ,
21
21
name : "NovelCool" ,
22
22
author : "PythonCoderAS" ,
23
23
authorWebsite : "https://github.com/PythonCoderAS" ,
@@ -31,6 +31,11 @@ export class NovelCool extends Source {
31
31
32
32
private readonly parser : NovelCoolParser = new NovelCoolParser ( ) ;
33
33
34
+ readonly requestManager : RequestManager = createRequestManager ( {
35
+ requestsPerSecond : 5 ,
36
+ requestTimeout : 10000
37
+ } ) ;
38
+
34
39
getMangaShareUrl ( mangaId : string ) : string {
35
40
return `${ BASE } /novel/${ mangaId } .html` ;
36
41
}
Original file line number Diff line number Diff line change 4
4
HomeSection ,
5
5
Manga , MangaTile , MangaUpdates ,
6
6
PagedResults ,
7
- Request ,
7
+ Request , RequestManager ,
8
8
SearchRequest ,
9
9
Source ,
10
10
SourceInfo ,
@@ -15,7 +15,7 @@ const BASE = "https://rainofsnow.com"
15
15
16
16
export const RainOfSnowInfo : SourceInfo = {
17
17
icon : "icon.png" ,
18
- version : "1.3.2 " ,
18
+ version : "1.3.3 " ,
19
19
name : "RainOfSnow" ,
20
20
author : "PythonCoderAS" ,
21
21
authorWebsite : "https://github.com/PythonCoderAS" ,
@@ -29,6 +29,11 @@ export class RainOfSnow extends Source {
29
29
30
30
private readonly parser : RainOfSnowParser = new RainOfSnowParser ( ) ;
31
31
32
+ readonly requestManager : RequestManager = createRequestManager ( {
33
+ requestsPerSecond : 5 ,
34
+ requestTimeout : 10000
35
+ } ) ;
36
+
32
37
getMangaShareUrl ( mangaId : string ) : string | null {
33
38
return `${ BASE } /comic/${ mangaId } ` ;
34
39
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const BASE = "https://raw.senmanga.com"
17
17
18
18
export const SenMangaInfo : SourceInfo = {
19
19
icon : "icon.png" ,
20
- version : "1.0.2 " ,
20
+ version : "1.0.3 " ,
21
21
name : "SenManga" ,
22
22
author : "PythonCoderAS" ,
23
23
authorWebsite : "https://github.com/PythonCoderAS" ,
@@ -31,6 +31,7 @@ export class SenManga extends Source {
31
31
32
32
private readonly parser : SenMangaParser = new SenMangaParser ( ) ;
33
33
34
+
34
35
private readonly header : RequestHeaders = {
35
36
"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"
36
37
}
Original file line number Diff line number Diff line change 4
4
HomeSection ,
5
5
Manga , MangaTile , MangaUpdates ,
6
6
PagedResults ,
7
- Request ,
7
+ Request , RequestManager ,
8
8
SearchRequest ,
9
9
Source ,
10
10
SourceInfo ,
@@ -15,7 +15,7 @@ const BASE = "https://voidscans.net"
15
15
16
16
export const VoidScansInfo : SourceInfo = {
17
17
icon : "icon.svg" ,
18
- version : "1.3.1 " ,
18
+ version : "1.3.2 " ,
19
19
name : "VoidScans" ,
20
20
author : "PythonCoderAS" ,
21
21
authorWebsite : "https://github.com/PythonCoderAS" ,
@@ -29,6 +29,12 @@ export class VoidScans extends Source {
29
29
30
30
private readonly parser : VoidScansParser = new VoidScansParser ( ) ;
31
31
32
+
33
+ readonly requestManager : RequestManager = createRequestManager ( {
34
+ requestsPerSecond : 5 ,
35
+ requestTimeout : 10000
36
+ } ) ;
37
+
32
38
getMangaShareUrl ( mangaId : string ) : string | null {
33
39
return `${ BASE } /library/${ mangaId } ` ;
34
40
}
You can’t perform that action at this time.
0 commit comments