delete info message
This commit is contained in:
parent
e96b1e8199
commit
85b996dac9
11
dict_dl.py
11
dict_dl.py
@ -235,20 +235,9 @@ class Queue:
|
|||||||
if p == None:
|
if p == None:
|
||||||
p = self.pick_random()
|
p = self.pick_random()
|
||||||
try:
|
try:
|
||||||
start_parsing = time.time()
|
|
||||||
w = self.Parser(p) # fetch new word
|
w = self.Parser(p) # fetch new word
|
||||||
word_dict = w.todict()
|
word_dict = w.todict()
|
||||||
|
|
||||||
print(
|
|
||||||
f"{p} | "
|
|
||||||
f"{len(self.words)} words collected, "
|
|
||||||
f"{len(self.queue)} words waiting in queue"
|
|
||||||
# f", {start_db_stuff-start_parsing:.06f}s"
|
|
||||||
# f"/{time.time() - start_db_stuff:.06f}s"
|
|
||||||
)
|
|
||||||
|
|
||||||
start_db_stuff = time.time()
|
|
||||||
|
|
||||||
prefix = p[: self.prefix_length].lower()
|
prefix = p[: self.prefix_length].lower()
|
||||||
if self.unusual(prefix):
|
if self.unusual(prefix):
|
||||||
prefix = "_" * self.prefix_length
|
prefix = "_" * self.prefix_length
|
||||||
|
Loading…
Reference in New Issue
Block a user