mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-04-06 06:58:11 -05:00
parent
d183af3cc1
commit
ad0090d0d2
@ -620,7 +620,7 @@ def _get_windows_v10_key(browser_root, logger):
|
|||||||
if path is None:
|
if path is None:
|
||||||
logger.error('could not find local state file')
|
logger.error('could not find local state file')
|
||||||
return None
|
return None
|
||||||
with open(path, 'r') as f:
|
with open(path, 'r', encoding='utf8') as f:
|
||||||
data = json.load(f)
|
data = json.load(f)
|
||||||
try:
|
try:
|
||||||
base64_key = data['os_crypt']['encrypted_key']
|
base64_key = data['os_crypt']['encrypted_key']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user