mirror of
https://github.com/adulau/providence.git
synced 2024-11-23 18:47:08 +00:00
chg: [providence] test each word for a sentence
This commit is contained in:
parent
543232895a
commit
28d5c91f4a
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue