Comments (9)
这个是在哪里运行的啊,应该是那个txt源文件内容有问题
from rconvert.
from rconvert.
已找到问题原因
from rconvert.
https://raw.githubusercontent.com/sve1r/Rules-For-Quantumult-X/develop/Rules/Services/Microsoft.list没有错误,可以正常处理。
https://raw.githubusercontent.com/ConnersHua/RuleGo/master/Surge/Ruleset/Extra/Reject/Advertising.list有两处语法不规范导致脚本类型判断错误
from rconvert.
=>DOMAIN-SUFFIX,ad.youku.com,REJECT
DOMAIN-SUFFIX,atm.youku.com
DOMAIN,ad.mobile.youku.com
DOMAIN,adx.op.cp18.ott.cibntv.net
DOMAIN,iyes.youku.com
DOMAIN,pl.cp31.ott.cibntv.net
=>DOMAIN,ykad-data.youku.com,REJECT
from rconvert.
脚本已修改。
from rconvert.
https://raw.githubusercontent.com/dler-io/Rules/main/Surge/Surge%203/Provider/Microsoft.list
https://raw.githubusercontent.com/sve1r/Rules-For-Quantumult-X/develop/Rules/Services/Microsoft.list
发现是这两个有冲突,单独运行的话,都没问题。合并在一起就不行
###Start deduplicate same DOMAIN and DOMAIN-SUFFIX rule lines
Traceback (most recent call last):
File "keyworddd.py", line 25, in
del lines[idx]
IndexError: list assignment index out of range
###Processing IPCIDRs
sed: xn.txt: No such file or directory
sed: xn.txt: No such file or directory
sed: xn.txt: No such file or directory
from rconvert.
https://raw.githubusercontent.com/dler-io/Rules/main/Surge/Surge%203/Provider/Microsoft.list https://raw.githubusercontent.com/sve1r/Rules-For-Quantumult-X/develop/Rules/Services/Microsoft.list 发现是这两个有冲突,单独运行的话,都没问题。合并在一起就不行
###Start deduplicate same DOMAIN and DOMAIN-SUFFIX rule lines Traceback (most recent call last): File "keyworddd.py", line 25, in del lines[idx] IndexError: list assignment index out of range ###Processing IPCIDRs sed: xn.txt: No such file or directory sed: xn.txt: No such file or directory sed: xn.txt: No such file or directory
已修复
from rconvert.
感谢,可以正常运行了
from rconvert.
Related Issues (4)
- 请教一下 HOT 5
- bug HOT 1
- 增加DOMAIN-WILDCARD规则的支持
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 rconvert.