This commit is contained in:
Sakooooo 2024-09-24 10:02:45 +04:00
parent ab63c7a508
commit b6e2908000
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -38,3 +38,9 @@ def get_client_token(account):
cmd = check_output("pass " + account, shell=True) cmd = check_output("pass " + account, shell=True)
return re.search(rb"client_token: (.*)", cmd, flags=0).group(1) return re.search(rb"client_token: (.*)", cmd, flags=0).group(1)
def get_client_token(account):
cmd = check_output("pass " + account, shell=True)
return re.search(rb"client_refresh_token: (.*)", cmd, flags=0).group(1)