File tree 1 file changed +15
-2
lines changed
1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 59
59
},
60
60
{
61
61
"cell_type" : " code" ,
62
- "execution_count" : null ,
62
+ "execution_count" : 1 ,
63
63
"id" : " 6c388490" ,
64
64
"metadata" : {},
65
65
"outputs" : [],
71
71
" raise FileNotFoundError(\" Plash config not found. Please run plash_login and try again.\" )\n " ,
72
72
" cookies = Path(cookie_file).read_json()\n " ,
73
73
" client.cookies.update(cookies)\n " ,
74
+ " client.headers.update({'X-PLASH': 'true'})\n " ,
74
75
" return client"
75
76
]
76
77
},
468
469
],
469
470
"metadata" : {
470
471
"kernelspec" : {
471
- "display_name" : " python3 " ,
472
+ "display_name" : " .venv " ,
472
473
"language" : " python" ,
473
474
"name" : " python3"
475
+ },
476
+ "language_info" : {
477
+ "codemirror_mode" : {
478
+ "name" : " ipython" ,
479
+ "version" : 3
480
+ },
481
+ "file_extension" : " .py" ,
482
+ "mimetype" : " text/x-python" ,
483
+ "name" : " python" ,
484
+ "nbconvert_exporter" : " python" ,
485
+ "pygments_lexer" : " ipython3" ,
486
+ "version" : " 3.12.6"
474
487
}
475
488
},
476
489
"nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments