更新订阅地址
This commit is contained in:
parent
73f3d12112
commit
c79be85f1d
|
@ -28,8 +28,8 @@
|
|||
|
||||
上面内容会自动定时更新,保证最新有效。数据更新时间:{update_time}(内容无变动不会更新)
|
||||
|
||||
- 文件:`https://raw.fastgit.org/521xueweihan/GitHub520/main/hosts`
|
||||
- JSON:`https://raw.fastgit.org/521xueweihan/GitHub520/main/hosts.json`
|
||||
- 文件:`https://api.hellogithub.com/GitHub520/hosts`
|
||||
- JSON:`https://api.hellogithub.com/GitHub520/hosts.json`
|
||||
|
||||
### 2.1 手动方式
|
||||
|
||||
|
@ -68,7 +68,7 @@ hosts 文件在每个系统的位置不一,详情如下:
|
|||
|
||||
- Type: `Remote`
|
||||
|
||||
- URL: `https://raw.fastgit.org/521xueweihan/GitHub520/main/hosts`
|
||||
- URL: `https://api.hellogithub.com/GitHub520/hosts`
|
||||
|
||||
- Auto Refresh: 最好选 `1 hour`
|
||||
|
||||
|
@ -84,7 +84,7 @@ hosts 文件在每个系统的位置不一,详情如下:
|
|||
|
||||
- 名称: 随意
|
||||
|
||||
- URL: `https://cdn.jsdelivr.net/gh/521xueweihan/GitHub520@main/hosts`(和上面 SwitchHosts 使用的一样)
|
||||
- URL: `https://api.hellogithub.com/GitHub520/hosts`(和上面 SwitchHosts 使用的一样)
|
||||
|
||||
如图:
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ RAW_URL = [
|
|||
"gist.github.com",
|
||||
"github.io",
|
||||
"github.com",
|
||||
"github.blog",
|
||||
"api.github.com",
|
||||
"raw.githubusercontent.com",
|
||||
"user-images.githubusercontent.com",
|
||||
|
@ -56,7 +57,8 @@ HOSTS_TEMPLATE = """# GitHub520 Host Start
|
|||
{content}
|
||||
|
||||
# Update time: {update_time}
|
||||
# Star me GitHub url: https://github.com/521xueweihan/GitHub520
|
||||
# Update url: https://api.hellogithub.com/GitHub520/hosts
|
||||
# Star me: https://github.com/521xueweihan/GitHub520
|
||||
# GitHub520 Host End\n"""
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user