chg: [[providence] accept multiple TLDs

This commit is contained in:
Alexandre Dulaunoy 2023-01-12 07:21:41 +01:00
parent a8ac67cf00
commit b0fe17660c
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD

View file

@ -20,6 +20,7 @@ parser.add_argument(
"--tld",
type=str,
help="Limit to a specific TLD (if not, all known TLDs are tested)",
action="append"
)
#parser.add_argument("","")
@ -60,7 +61,7 @@ def guess_name(name=None, tlds=None):
if not args.tld:
tlds = cache_suffixes()
else:
tlds = [args.tld]
tlds = args.tld
results = set()