fix; [set tracker] missing function

pull/586/head
Thirion Aurélien 2022-06-24 16:07:31 +02:00 committed by GitHub
parent c0b233030e
commit 8908b2189e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -106,9 +106,9 @@ def get_text_word_frequency(item_content, filtering=True):
# # TODO: create all tracked words # # TODO: create all tracked words
def get_tracked_words_list(): def get_tracked_words_list():
return list(r_serv_term.smembers('all:tracker:word')) return list(r_serv_term.smembers('all:tracker:word'))
def get_typosquat_tracked_words_list(): def get_set_tracked_words_list():
set_list = r_serv_term.smembers('all:tracker:typosquatting') set_list = r_serv_term.smembers('all:tracker:set')
all_set_list = [] all_set_list = []
for elem in set_list: for elem in set_list:
res = elem.split(';') res = elem.split(';')