bug(configure): youtube-cookies 写入后未被下载流程使用,成功提示与行为不一致
作者: 17lijunyi创建于 2026年9月18日更新于 2026年9月18日
- Run the actual _cmd_configure() branch with a temporary directory's Config instance, setting youtube-cookies to chrome. 2. Confirm that youtube_cookies_from is set to chrome. 3. Set a fake transcription key for testing purposes in the same Config, and call the actual transcribe() path. 4. Capture the argv at the _run() boundary and stop immediately to avoid real browser reading, downloading, and API calls. The captured command is: yt-dlp -x --audio-format m4a --audio-quality 0 --no-playlist --max-filesize 536870912 -o /audio/source.%(ext)s -- <a href="https://example.com/audio">https://example.com/audio</a> There is no --cookies-from-browser or --cookies. The following search in the repository only finds the write location for this key: $ rg -n 'youtube_cookies_from' agent_reach This verification is of the missing transfer between configuration and the command, and does not use real cookies or restricted video accounts. If the user has configured cookies for yt-dlp, this issue may be obscured by external configuration.</li> </ol>
内容来源: Panniantong/Agent-Reach