use registered_domain to search in bitwarden (#929)

This commit is contained in:
LawyZheng
2024-10-09 01:07:35 +08:00
committed by GitHub
parent 6f16510a7a
commit 78c0a919da

View File

@@ -157,8 +157,8 @@ class BitwardenService:
BitwardenService.sync()
session_key = BitwardenService.unlock(master_password)
# Extract the domain from the URL and search for items in Bitwarden with that domain
domain = tldextract.extract(url).domain
# Extract the domain(with suffix) from the URL and search for items in Bitwarden with that domain
domain = tldextract.extract(url).registered_domain
list_command = [
"bw",
"list",