Skip to content

Commit

Permalink
对齐上游ip库更新时间
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyi7 committed Oct 3, 2024
1 parent fb5d8aa commit ec45c85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-update-gfw-pac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: GFW PAC Update

on:
schedule:
- cron: '0 0 */7 * *'
- cron: '10 0 * * 4'
workflow_dispatch:

jobs:
Expand All @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v4

- name: Download cn.txt
run: curl https://raw.githubusercontent.com/Loyalsoldier/geoip/refs/heads/release/text/cn.txt -o cidrs-cn.txt
run: curl -L https://raw.githubusercontent.com/Loyalsoldier/geoip/release/text/cn.txt -o cidrs-cn.txt

- name: Run gfw-pac.py script
run: ./gfw-pac.py -f gfw.pac -p "PROXY 127.0.0.1:3128" --proxy-domains=proxy-domains.txt --direct-domains=direct-domains.txt --localtld-domains=local-tlds.txt --ip-file=cidrs-cn.txt
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

科学上网 PAC 文件以及生成器。通过自定义域名和 CNIP 地址生成 PAC(Proxy auto-config) 文件。对存在于自定义域名和解析出的IP不是CNIP的域名使用代理,支持IPv6。

**此仓库每 7 天自动通过 GitHub Action 从 `Loyalsoldier/geoip` 获取国内地址段并更新 `gfw.pac` 文件**
**此仓库每周四自动通过 GitHub Action 从 `Loyalsoldier/geoip` 同步数据并更新 `gfw.pac` 文件**

## 特性
* 开箱即用,直接可用的 `gfw.pac` 包含了常用的直连域名和代理域名以及国内IPv4/IPv6地址段
Expand Down

0 comments on commit ec45c85

Please sign in to comment.