ITADN

[Bug]: CLI app - Redirecting output causes invalid cookie file to be generated

#93Openmilnak 创建于 2025-01-18
bug
M
milnakcommented
### What happened? On Windows: ```PowerShell .\rookie-cli-x86_64-pc-windows-msvc.exe --browser edge --format netscape | Out-File cookies.txt ``` cookies.txt: ```text 2025-01-18T02:29:39.052450Z  INFO rookie::windows::shadow_copy: Creating shadow copy to cookies file from C:\Users\jeffm\AppData\Local\Microsoft\Edge\User Data\Default\Network\Cookies to C:\Users\jeffm\AppData\Local\Temp\.tmpszSqhiWrGW 2025-01-18T02:29:39.158373Z  INFO rookie::browser::chromium: Creating SQLite connection to C:\Users\jeffm\AppData\Local\Temp\.tmpszSqhiWrGW\Cookies # Netscape HTTP Cookie File # Generated by Rookie 0.5.6 (11d6402) # Edit at your own risk. .bing.com TRUE / TRUE <redacted> <redacted> ``` ### Steps to reproduce 1. step one... 2. step two... ### What browsers are you seeing the problem on? Edge ### Relevant log output ```shell ```
1 条评论