Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 2.42 KB

README.md

File metadata and controls

60 lines (39 loc) · 2.42 KB

github项目

优选域名 , IP 取决于抓取的 网站

  • bestcf.cfcs.us.kg
  • api.cfcs.us.kg

image.png

https://github.com/jc-lw/youxuanyuming

image.png

cfipcaiji 原理和需要修改的地方

  • 每3小时自动抓取 https://ip.164746.xyz 的优选ip,形成ip.txt

  • 还有js自动生成的https://cf.090227.xyz image.png

  • caijiip.yml 文件夹里面改成你自己的,否则报错 image.png

  • collect_ips.py文件 这里是抓取优选IP的网站,如需要可自行修改 image.png

BestDomain 需要Cloudflare API令牌

  • 这里修改你的二级域名开头  image.png  image.png
  • 把上面的链接 修改成 你自己的链接,因为你抓取优选ip可能跟我不一样。

image.png

  1. 创建 Cloudflare API 令牌 访问[ Cloudflare API 令牌] ( https://dash.cloudflare.com/profile/api-tokens )

  2. 选择需要解析的域名,创建编辑 DNS 权限的 CF_API_TOKEN image.png

  3. 在你的 GitHub 仓库中,设置 CF_API_TOKEN 为你的 Cloudflare API 令牌 image.png

  4. 配置 GitHub Actions 定时任务

设置完成

image.png 这里就是 运行完成,去ping出来的优选IP image.png