Comments (5)
这是CFW的使用问题,参见 https://docs.cfw.lbyczf.com/contents/parser.html#%E6%AD%A3%E5%88%99%E5%8C%B9%E9%85%8D
以下配置应该会匹配任意HTTP协议链接,注意将url
替换为reg
。
parsers:
- reg: ^http.+$
yaml:
后文省略
from anti-ip-attribution.
这是CFW的使用问题,参见 https://docs.cfw.lbyczf.com/contents/parser.html#%E6%AD%A3%E5%88%99%E5%8C%B9%E9%85%8D
以下配置应该会匹配任意HTTP协议链接,注意将
url
替换为reg
。parsers: - reg: ^http.+$ yaml: 后文省略
可能我没表述清楚,我的意思其实是,每家机场都有各自不同的节点,也都有各自预设的分组。
怎样能在这一个parser文件中把每个订阅不同的具体配置都分别写出来?
如果按你回复的那个代码,就相当于让各个订阅共用一套配置了,这样必然对应不上,会出故障。
from anti-ip-attribution.
from anti-ip-attribution.
举个例子:
有个我经常去的网站,仅限法国IP访问,
我手上10个机场,其中4家都有法国节点,但是名字肯定各不相同,
比如叫法国线路、法国A1、法国原生01、原生法国1线 等等
如果按正常的方式去设定,肯定是会出故障的
from anti-ip-attribution.
这个parser会创建一个代理组,组内的流量通过🔰 选择节点
这个组中选择的代理节点。
只要配置文件中选择代理的组的名称是🔰 选择节点
,应该就是通用的。
如果一定要程序化地处理,https://docs.cfw.lbyczf.com/contents/parser.html#%E8%BF%9B%E9%98%B6%E6%96%B9%E6%B3%95-javascript 可能会有帮助。
from anti-ip-attribution.
Related Issues (20)
- 抖音规则 HOT 4
- 百度的不能用,删了吧。 HOT 4
- 豆瓣抓包 HOT 1
- 米游社&小黑盒 HOT 10
- 有大佬抓下QQ音乐ios端的ip域名吗?本人能力差,就找到了这个 DOMAIN,u6.y.qq.com 但是评论几次就又变回真实ip了。所以感觉不止这一个 HOT 1
- clash-provider中后接策略组似乎是无效的 HOT 1
- 请在clash等IP分流规则添加no-resolve防DNS泄漏 HOT 2
- Stash 配置支持 HOT 1
- nga有多个域名 HOT 1
- Does it support Shadowrocket? HOT 3
- 用了分流规则后,导致B站电脑网页端视频播放卡顿 HOT 20
- 使用规则后无法打开贴吧页面 HOT 2
- B站IOS端再次露地址 HOT 13
- B站直播观看 解决分配海外CDN HOT 3
- 小红书失效 HOT 4
- 豆瓣抓包新增 HOT 1
- 小红书检测手段已变(待确定) HOT 6
- 闲鱼检测规则 HOT 2
- 酷安、起点App HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anti-ip-attribution.