Git Product home page Git Product logo

Comments (9)

DoingDog avatar DoingDog commented on June 2, 2024

这个是在哪里运行的啊,应该是那个txt源文件内容有问题

from rconvert.

SouthAlley avatar SouthAlley commented on June 2, 2024

https://raw.githubusercontent.com/ConnersHua/RuleGo/master/Surge/Ruleset/Extra/Reject/Advertising.list,https://raw.githubusercontent.com/sve1r/Rules-For-Quantumult-X/develop/Rules/Services/Microsoft.list
这是两个都有这个问题,生产的文件内容为空的

from rconvert.

DoingDog avatar DoingDog commented on June 2, 2024

已找到问题原因

from rconvert.

DoingDog avatar DoingDog commented on June 2, 2024

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.

DoingDog avatar DoingDog commented on June 2, 2024
=>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.

DoingDog avatar DoingDog commented on June 2, 2024

脚本已修改。

from rconvert.

SouthAlley avatar SouthAlley commented on June 2, 2024

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.

DoingDog avatar DoingDog commented on June 2, 2024

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.

SouthAlley avatar SouthAlley commented on June 2, 2024

感谢,可以正常运行了

from rconvert.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.