mirror of
https://github.com/minoplhy/filters-maker.git
synced 2024-12-22 18:18:13 +00:00
Update 'crawler.py'
This commit is contained in:
parent
942122edec
commit
164177ee1c
@ -72,6 +72,7 @@ def filteringcon(filters_regex_one):
|
||||
for i in range(len(file)):
|
||||
file[i] = re.sub('\s\s+', ' ', file[i])
|
||||
file[i] = re.sub('#..*', '', file[i])
|
||||
file[i] = re.sub(';..*', '', file[i])
|
||||
with open(filters_regex_one, 'w') as f1:
|
||||
f1.writelines(["%s\n" % item for item in file])
|
||||
f.close()
|
||||
|
Loading…
Reference in New Issue
Block a user