Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/217heidai/adblockfilters
/ functions
Functions
112 in github.com/217heidai/adblockfilters
⨍
Functions
112
◇
Types & classes
25
↓ 33 callers
Method
__subscribeLink
(self, fileName:str, url:str=None)
readme.py:54
↓ 11 callers
Method
__analysis
(self, address:str)
resolver.py:57
↓ 8 callers
Method
setChina
(self, isChina:bool)
blacklist.py:139
↓ 7 callers
Method
__execute
(self, sql:str)
blacklist.py:27
↓ 5 callers
Method
close
(self)
blacklist.py:189
↓ 5 callers
Method
match
(pattern, string)
resolver.py:70
↓ 4 callers
Method
getIPList
(self)
blacklist.py:155
↓ 2 callers
Method
__CalcFileSha256
(self, filename)
updater.py:37
↓ 2 callers
Method
__domainSort
(self, domainDict:Dict[str, Set[str]], blackSet:Set[str], whiteDict:Dict[str,Set[str]])
filter.py:108
↓ 2 callers
Method
__download
(self, fileName, url)
blacklist.py:192
↓ 2 callers
Method
__generateDomainLiteList
(self, domainList:List[str], ChinaSet:Set[str])
app/base.py:27
↓ 2 callers
Method
__pingx
(self, dnsresolver:DNSResolver, domain:DOMAIN, semaphore)
blacklist.py:324
↓ 2 callers
Method
__resolveFilterDomain
(self, filter)
resolver.py:97
↓ 2 callers
Method
generate
(self, isLite=False)
app/base.py:54
↓ 2 callers
Method
getChina
(self)
blacklist.py:146
↓ 2 callers
Method
setBlock
(self, isBlock:bool)
blacklist.py:129
↓ 2 callers
Method
update
(self, path:str)
updater.py:18
↓ 1 callers
Method
__Download
(self, rule:Rule, path:str)
updater.py:44
↓ 1 callers
Method
__checkTableExists
(self, tableName:str)
blacklist.py:33
↓ 1 callers
Method
__filterSort
(self, filterDict:Dict[str,str], blockSet:Set[str], unblockSet:Set[str], blackSet:Set[str], whiteSet:Set[str])
filter.py:166
↓ 1 callers
Method
__generateBlackList
(self, blackList)
blacklist.py:367
↓ 1 callers
Method
__generateChinaList
(self, ChinaList)
blacklist.py:380
↓ 1 callers
Method
__generateDomainBackup
(self, domainSet, fileName:str)
filter.py:200
↓ 1 callers
Method
__generateFilterLiteList
(self, filterDict:Dict[str,str], filterList:List[str], ChinaSet:Set[str])
app/base.py:38
↓ 1 callers
Method
__getBlackList
(self, fileName:str)
filter.py:57
↓ 1 callers
Method
__getChinaList
(self, fileName:str)
filter.py:97
↓ 1 callers
Method
__getDomainDict
(self)
blacklist.py:226
↓ 1 callers
Method
__getDomainDict_db
(self, domainDict:Dict[str, DOMAIN])
blacklist.py:464
↓ 1 callers
Method
__getDomainSet_CN
(self)
blacklist.py:249
↓ 1 callers
Method
__getFilters
(self)
filter.py:19
↓ 1 callers
Method
__getIPDict_CN
(self)
blacklist.py:286
↓ 1 callers
Method
__getRuleList
(self, pwd:str)
refreshcdn.py:21
↓ 1 callers
Method
__getWhiteDict
(self, whiteSet:Set[str])
filter.py:79
↓ 1 callers
Method
__getWhiteList
(self, fileName:str)
filter.py:68
↓ 1 callers
Method
__init_db
(self)
blacklist.py:59
↓ 1 callers
Method
__ip_or_domain
(self, address:str)
resolver.py:41
↓ 1 callers
Method
__ip_or_domain
(self, address:str)
blacklist.py:104
↓ 1 callers
Method
__refresh
(self, fileName)
refreshcdn.py:33
↓ 1 callers
Method
__resolve
(self, dnsresolver, domain)
blacklist.py:304
↓ 1 callers
Method
__resolveDNS
(self, line)
resolver.py:288
↓ 1 callers
Method
__resolveFilter
(self, line)
resolver.py:351
↓ 1 callers
Method
__resolveHost
(self, line)
resolver.py:69
↓ 1 callers
Method
__testDomain
(self, domainDict:Dict[str,DOMAIN], nameservers:str, port=53)
blacklist.py:393
↓ 1 callers
Method
__updateData
(self, sql:str, dataListTuple:list=None)
blacklist.py:46
↓ 1 callers
Method
__updateDomainDict_db
(self, domainDict:Dict[str, DOMAIN])
blacklist.py:477
↓ 1 callers
Method
generate
(self, sourceRule)
filter.py:214
↓ 1 callers
Method
generate
(self)
blacklist.py:490
↓ 1 callers
Method
generateAll
(self)
app/base.py:57
↓ 1 callers
Method
getAll
(self)
blacklist.py:75
↓ 1 callers
Method
getBlock
(self)
blacklist.py:136
↓ 1 callers
Method
getRules
(self)
readme.py:28
↓ 1 callers
Method
getRulesNames
(self)
readme.py:43
↓ 1 callers
Method
getTimeStamp
(self)
blacklist.py:126
↓ 1 callers
Method
getUpdate
(self)
blacklist.py:158
↓ 1 callers
Method
refresh
(self)
refreshcdn.py:43
↓ 1 callers
Method
refresh
(self)
adblock.py:13
↓ 1 callers
Method
regenerate
(self)
readme.py:71
↓ 1 callers
Method
setIPList
(self, ipList:List[str])
blacklist.py:149
↓ 1 callers
Method
setRules
(self, ruleList:List[Rule])
readme.py:51
↓ 1 callers
Method
toTuple
(self)
blacklist.py:161
↓ 1 callers
Method
updateALL
(self, domainList:List[Tuple])
blacklist.py:79
Method
__init__
(self, ruleList:List[Rule])
updater.py:14
Method
__init__
(self, name:str, type:str, url:str, latest:str, update:bool=False)
readme.py:8
Method
__init__
(self, filename:str)
readme.py:18
Method
__init__
(self)
refreshcdn.py:9
Method
__init__
(self, ruleList:List[Rule], path:str)
filter.py:14
Method
__init__
(self)
adblock.py:10
Method
__init__
(self, path:str)
resolver.py:13
Method
__init__
(self, dbFile: str)
blacklist.py:17
Method
__init__
(self, domain:str, fld:str=None, subdomain:str=None, ip:str=None, port:int=None, isBlock:int=None, isChina:int
blacklist.py:84
Method
__init__
(self, path:str)
blacklist.py:176
Method
__init__
(self, blockList:List[str], unblockList:List[str], filterDict:Dict[str,str], filterList:List[str], filterList_
app/surge.py:9
Method
__init__
(self, blockList:List[str], unblockList:List[str], filterDict:Dict[str,str], filterList:List[str], filterList_
app/mosdns.py:9
Method
__init__
(self, blockList:List[str], unblockList:List[str], filterDict:Dict[str,str], filterList:List[str], filterList_
app/adguardhome.py:9
Method
__init__
(self, blockList:List[str], unblockList:List[str], filterDict:Dict[str,str], filterList:List[str], filterList_
app/smartdns.py:9
Method
__init__
(self, blockList:List[str], unblockList:List[str], filterDict:Dict[str,str], filterList:List[str], filterList_
app/base.py:9
Method
__init__
(self, blockList:List[str], unblockList:List[str], filterDict:Dict[str,str], filterList:List[str], filterList_
app/quantumultx.py:9
Method
__init__
( self, blockList: List[str], unblockList: List[str], filterDict: Dict[str, st
app/shadowrocket_module.py:10
Method
__init__
(self, blockList:List[str], unblockList:List[str], filterDict:Dict[str,str], filterList:List[str], filterList_
app/mihomo.py:9
Method
__init__
(self, blockList:List[str], unblockList:List[str], filterDict:Dict[str,str], filterList:List[str], filterList_
app/invizible.py:9
Method
__init__
(self, blockList:List[str], unblockList:List[str], filterDict:Dict[str,str], filterList:List[str], filterList_
app/dnsmasq.py:9
Method
__init__
(self, blockList:List[str], unblockList:List[str], filterDict:Dict[str,str], filterList:List[str], filterList_
app/loon.py:9
Method
__init__
(self, blockList:List[str], unblockList:List[str], filterDict:Dict[str,str], filterList:List[str], filterList_
app/hosts.py:9
Method
__init__
(self, blockList:List[str], unblockList:List[str], filterDict:Dict[str,str], filterList:List[str], filterList_
app/shadowrocket.py:9
Method
__init__
(self, blockList:List[str], unblockList:List[str], filterDict:Dict[str,str], filterList:List[str], filterList_
app/singbox.py:9
Method
__init__
(self, blockList:List[str], unblockList:List[str], filterDict:Dict[str,str], filterList:List[str], filterList_
app/adguard.py:9
Method
__isChinaDomain
(self, domain:DOMAIN, fullSet_CN:Set[str], domainSet_CN:Set[str], regexpSet_CN:Set[str], keywordSet_CN:Set[str
blacklist.py:421
Method
_refresh_all
()
refreshcdn.py:46
Method
_resolve_all
()
blacklist.py:396
Method
_update
()
updater.py:19
Method
close
(self)
blacklist.py:23
Method
connect_with_timeout
(ip, port, timeout=5)
blacklist.py:325
Method
dictadd
(d1:Dict[str,Set], d2:Dict[str,Set])
filter.py:20
Method
generate
(self, isLite=False)
app/surge.py:12
Method
generate
(self, isLite=False)
app/mosdns.py:12
Method
generate
(self, isLite=False)
app/adguardhome.py:12
Method
generate
(self, isLite=False)
app/smartdns.py:12
Method
generate
(self, isLite=False)
app/quantumultx.py:12
Method
generate
(self, isLite: bool = False)
app/shadowrocket_module.py:32
Method
generate
(self, isLite=False)
app/mihomo.py:12
next →
1–100 of 112, ranked by callers