mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-06-21 05:21:02 +08:00
⚡️ 去除重複減少體積
This commit is contained in:
parent
66470da876
commit
f73f422d72
@ -49,6 +49,7 @@ class Downloader:
|
||||
accumulate = ""
|
||||
for date in range(len(sort_date)):
|
||||
accumulate += self.data[sort_date[date]].decode()
|
||||
accumulate = "\n".join(sorted(set(accumulate.split("\n"))))
|
||||
self.base_path.joinpath(f"past-{date+1}day.txt").write_bytes(
|
||||
accumulate.encode()
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user