mirror of
https://github.com/mahdibland/V2RayAggregator.git
synced 2026-06-24 21:34:12 +08:00
Update list_merge.py
This commit is contained in:
parent
61e162c4c4
commit
5fdccac938
@ -239,6 +239,10 @@ class sub_merge():
|
||||
|
||||
content_list = list(
|
||||
filter(lambda x: x != '', ''.join(content_list).split("\n")))
|
||||
# dup remove by string content
|
||||
print("it was " + str(content_list.__len__()))
|
||||
content_list = list(set(content_list))
|
||||
print("now is " + str(content_list.__len__()))
|
||||
content_raw = "\n".join(content_list)
|
||||
|
||||
# content_yaml = sub_convert.main(content_raw, 'content', 'content', {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user