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

Commit4aff38a

Browse files
committed
Add cloudflare bypass
1 parente6e00ba commit4aff38a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

‎src/Hachirumi/Hachirumi.ts‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import{SourceInfo,TagType}from"paperback-extensions-common"
1+
import{Request,SourceInfo,TagType}from"paperback-extensions-common"
22
import{GuyaTemplate}from"../GuyaTemplate";
33

44
constBASE="https://hachirumi.com"
55

66
exportconstHachirumiInfo:SourceInfo={
77
icon:"icon.png",
8-
version:"1.0.2",
8+
version:"1.1.0",
99
name:"Hachirumi",
1010
author:"PythonCoderAS",
1111
authorWebsite:"https://github.com/PythonCoderAS",
@@ -17,10 +17,21 @@ export const HachirumiInfo: SourceInfo = {
1717
{
1818
text:"Notifications",
1919
type:TagType.GREEN
20+
},
21+
{
22+
text:"Cloudflare",
23+
type:TagType.RED
2024
}
2125
]
2226
}
2327

2428
exportclassHachirumiextendsGuyaTemplate{
2529
readonlybaseUrl:string=BASE;
30+
31+
getCloudflareBypassRequest():Request{
32+
returncreateRequestObject({
33+
url:this.baseUrl,
34+
method:"GET"
35+
});
36+
}
2637
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp