mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-06-21 05:21:02 +08:00
🐛 typo
This commit is contained in:
parent
8264b2615f
commit
414a9df454
@ -85,7 +85,7 @@ for category in filterlist:
|
||||
newdata = '\n'.join(data[5:])
|
||||
desc = '\n'.join(x.replace('!', '#') for x in data[:5]) + '\n'
|
||||
|
||||
name = filename.split('.text')[0]
|
||||
name = filename.split('.txt')[0]
|
||||
with open(name+'-domains.txt', 'w') as output:
|
||||
pattern = r'(?<=^\|\|)\S+\.\S{2,}(?=\^)'
|
||||
desc += '\n'.join(re.findall(pattern, newdata, re.MULTILINE))
|
||||
|
Loading…
x
Reference in New Issue
Block a user