Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcc25c21

Browse files
committed
Add 10 second feaults.
1 parent1b86ac2 commitcc25c21

File tree

6 files changed

+38
-11
lines changed

6 files changed

+38
-11
lines changed

‎src/CatManga/CatManga.ts‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
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

1616
exportconstCatMangaInfo: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
privatereadonlyparser:CatMangaParser=newCatMangaParser();
3131

32+
readonlyrequestManager:RequestManager=createRequestManager({
33+
requestsPerSecond:5,
34+
requestTimeout:10000
35+
});
36+
3237
getMangaShareUrl(mangaId:string):string|null{
3338
return`${BASE}/series/${mangaId}`;
3439
}

‎src/GlitchyComics/GlitchyComics.ts‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
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

1616
exportconstGlitchyComicsInfo: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
privatereadonlyparser:GlitchyComicsParser=newGlitchyComicsParser();
3131

32+
readonlyrequestManager:RequestManager=createRequestManager({
33+
requestsPerSecond:5,
34+
requestTimeout:10000
35+
});
36+
3237
getMangaShareUrl(mangaId:string):string|null{
3338
return`${BASE}/${mangaId}`;
3439
}

‎src/NovelCool/NovelCool.ts‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
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

1818
exportconstNovelCoolInfo: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
privatereadonlyparser:NovelCoolParser=newNovelCoolParser();
3333

34+
readonlyrequestManager:RequestManager=createRequestManager({
35+
requestsPerSecond:5,
36+
requestTimeout:10000
37+
});
38+
3439
getMangaShareUrl(mangaId:string):string{
3540
return`${BASE}/novel/${mangaId}.html`;
3641
}

‎src/RainOfSnow/RainOfSnow.ts‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
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

1616
exportconstRainOfSnowInfo: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
privatereadonlyparser:RainOfSnowParser=newRainOfSnowParser();
3131

32+
readonlyrequestManager:RequestManager=createRequestManager({
33+
requestsPerSecond:5,
34+
requestTimeout:10000
35+
});
36+
3237
getMangaShareUrl(mangaId:string):string|null{
3338
return`${BASE}/comic/${mangaId}`;
3439
}

‎src/SenManga/SenManga.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const BASE = "https://raw.senmanga.com"
1717

1818
exportconstSenMangaInfo: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
privatereadonlyparser:SenMangaParser=newSenMangaParser();
3333

34+
3435
privatereadonlyheader: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
}

‎src/VoidScans/VoidScans.ts‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
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

1616
exportconstVoidScansInfo: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
privatereadonlyparser:VoidScansParser=newVoidScansParser();
3131

32+
33+
readonlyrequestManager:RequestManager=createRequestManager({
34+
requestsPerSecond:5,
35+
requestTimeout:10000
36+
});
37+
3238
getMangaShareUrl(mangaId:string):string|null{
3339
return`${BASE}/library/${mangaId}`;
3440
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp