From d836f521817501617e3d2e29ed398c03e2e54083 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 11 May 2021 19:25:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E5=8A=A0=E9=80=9F?= =?UTF-8?q?=E6=BA=90=20[=E6=97=A5=E6=9C=AC=E4=B8=9C=E4=BA=AC]=20=E4=B8=BA?= =?UTF-8?q?=20[=E7=BE=8E=E5=9B=BD]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index b7284d2..fe9a3c4 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Github 增强 - 高速下载 -// @version 1.4.6 +// @version 1.4.7 // @author X.I.U // @description 高速下载 Git Clone、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @match *://github.com/* @@ -32,8 +32,8 @@ var download_url = [ ['https://gh.api.99988866.xyz','美国'], + ['https://gh.xiu2.xyz','美国'], ['https://download.fastgit.org','日本东京'], - ['https://gh.xiu2.xyz','日本东京'], ['https://ghproxy.com','韩国首尔'], ['https://pd.zwc365.com/seturl','中国香港'] ], @@ -119,8 +119,8 @@ let href = _this.href.split('github.com'), url = [ download_url[0][0] + '/' + _this.href, - download_url[1][0] + href[1], - download_url[2][0] + '/' + _this.href, + download_url[1][0] + '/' + _this.href, + download_url[2][0] + href[1], download_url[3][0] + '/' + _this.href, download_url[4][0] + '/' + _this.href ], @@ -140,8 +140,8 @@ let href = _this.href.split('github.com'), url = [ download_url[0][0] + '/' + _this.href, - download_url[1][0] + href[1], - download_url[2][0] + '/' + _this.href, + download_url[1][0] + '/' + _this.href, + download_url[2][0] + href[1], download_url[3][0] + '/' + _this.href, download_url[4][0] + '/' + _this.href ], @@ -164,8 +164,8 @@ let href = html.getElementsByTagName('a')[0].href, url = [ download_url[0][0] + "/" + href, - download_url[1][0] + href.split('github.com')[1], - download_url[2][0] + "/" + href, + download_url[1][0] + "/" + href, + download_url[2][0] + href.split('github.com')[1], download_url[3][0] + "/" + href, download_url[4][0] + '/' + href ],