We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ed8e6a commit 99a3d37Copy full SHA for 99a3d37
nbs/00_core.ipynb
@@ -71,6 +71,7 @@
71
" raise FileNotFoundError(\"Plash config not found. Please run plash_login and try again.\")\n",
72
" cookies = Path(cookie_file).read_json()\n",
73
" client.cookies.update(cookies)\n",
74
+ " client.headers.update({'X-PLASH': 'true'})\n",
75
" return client"
76
]
77
},
plash_cli/core.py
@@ -27,6 +27,7 @@ def get_client(cookie_file):
27
raise FileNotFoundError("Plash config not found. Please run plash_login and try again.")
28
cookies = Path(cookie_file).read_json()
29
client.cookies.update(cookies)
30
+ client.headers.update({'X-PLASH': True})
31
return client
32
33
# %% ../nbs/00_core.ipynb 6
0 commit comments