Skip to content

Commit d836f52

Browse files
committed
调整 加速源 [日本东京] 为 [美国]
1 parent a4a6e9b commit d836f52

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

GithubEnhanced-High-Speed-Download.user.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name Github 增强 - 高速下载
3-
// @version 1.4.6
3+
// @version 1.4.7
44
// @author X.I.U
55
// @description 高速下载 Git Clone、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
66
// @match *://github.com/*
@@ -32,8 +32,8 @@
3232

3333
var download_url = [
3434
['https://gh.api.99988866.xyz','美国'],
35+
['https://gh.xiu2.xyz','美国'],
3536
['https://download.fastgit.org','日本东京'],
36-
['https://gh.xiu2.xyz','日本东京'],
3737
['https://ghproxy.com','韩国首尔'],
3838
['https://pd.zwc365.com/seturl','中国香港']
3939
],
@@ -119,8 +119,8 @@
119119
let href = _this.href.split('github.com'),
120120
url = [
121121
download_url[0][0] + '/' + _this.href,
122-
download_url[1][0] + href[1],
123-
download_url[2][0] + '/' + _this.href,
122+
download_url[1][0] + '/' + _this.href,
123+
download_url[2][0] + href[1],
124124
download_url[3][0] + '/' + _this.href,
125125
download_url[4][0] + '/' + _this.href
126126
],
@@ -140,8 +140,8 @@
140140
let href = _this.href.split('github.com'),
141141
url = [
142142
download_url[0][0] + '/' + _this.href,
143-
download_url[1][0] + href[1],
144-
download_url[2][0] + '/' + _this.href,
143+
download_url[1][0] + '/' + _this.href,
144+
download_url[2][0] + href[1],
145145
download_url[3][0] + '/' + _this.href,
146146
download_url[4][0] + '/' + _this.href
147147
],
@@ -164,8 +164,8 @@
164164
let href = html.getElementsByTagName('a')[0].href,
165165
url = [
166166
download_url[0][0] + "/" + href,
167-
download_url[1][0] + href.split('github.com')[1],
168-
download_url[2][0] + "/" + href,
167+
download_url[1][0] + "/" + href,
168+
download_url[2][0] + href.split('github.com')[1],
169169
download_url[3][0] + "/" + href,
170170
download_url[4][0] + '/' + href
171171
],

0 commit comments

Comments
 (0)