From 28d5c91f4a0e313fc994f30959582ccab1f680a7 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Tue, 10 Jan 2023 17:44:11 +0100 Subject: [PATCH] chg: [providence] test each word for a sentence --- bin/providence.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/providence.py b/bin/providence.py index 14743f9..d996a98 100644 --- a/bin/providence.py +++ b/bin/providence.py @@ -71,7 +71,8 @@ if re.search(r' {1,}', args.name): p = name.replace(" ", "") results.update(guess_name(name=p, tlds=tlds)) # try with removal of word - + for word in args.name.split(" "): + results.update(guess_name(name=word, tlds=tlds)) else: results.update(guess_name(name=args.name, tlds=tlds))