Closed BlueSkyXN closed 1 year ago
Error: control/filtering/add_url | Couldn't fetch filter from URL "https://raw.githubusercontent.com/BlueSkyXN/AdGuardHomeRules/master/Part/rules-renew.txt": scanning filter contents: bufio.Scanner: token too long | 400
连12MB的都不行了
切割成9M,还是不行
Error: control/filtering/add_url | Couldn't fetch filter from URL "https://raw.githubusercontent.com/BlueSkyXN/AdGuardHomeRules/master/Part/all-lite-p1.txt": scanning filter contents: bufio.Scanner: token too long | 400
Download EDGE Version https://static.adguard.com/adguardhome/edge/AdGuardHome_linux_amd64.tar.gz
使用最新测试版即可,比如 https://github.com/BlueSkyXN/AdGuardHomeRules/releases/tag/3.4.1 这里面附带的 18版本
或者采用官方的过滤长规则
@BlueSkyXN
建议用AdGuard官方的HostlistCompiler处理规则
https://github.com/AdguardTeam/HostlistCompiler
主规则我看了一下 有很多AdGuardHome不支持的规则 比如 $3p
##
等等 这些规则不适用于ADGH
并且规则夹杂着ABP和Hosts 两者普通工具无法进行合并去重 增大了文件的大小 也给ADGH重负担
通过使用HostlistCompiler可以解决
(顺便问一下为什么规则连注释都不删😓
今天迁移ADH的时候发现的问题 v0.107.16 老机器,大规则正常 v0.107.34 新机器,报错如下
Error: control/filtering/add_url | Couldn't fetch filter from URL "https://raw.githubusercontent.com/BlueSkyXN/AdGuardHomeRules/master/all.txt": scanning filter contents: bufio.Scanner: token too long | 400