Skip to content

Commit 0d1eb35

Browse files
committed
Add debug log for yt-dlp command execution
Inserted a debug log statement to output the full yt-dlp command before execution. This will help diagnose issues related to command construction and subprocess invocation.
1 parent 9a81c4b commit 0d1eb35

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/gui/ytsage_gui_main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,6 +1969,8 @@ def _analyze_url_with_subprocess(self, url) -> None:
19691969
if self.geo_proxy_url:
19701970
cmd.extend(["--geo-verification-proxy", self.geo_proxy_url])
19711971

1972+
logger.debug(f"Executing yt-dlp command: {cmd}")
1973+
19721974
# Execute command with hidden console window on Windows
19731975
# Extra logic moved to src\utils\ytsage_constants.py
19741976
result = subprocess.run(cmd, capture_output=True, text=True, timeout=300, creationflags=SUBPROCESS_CREATIONFLAGS)

0 commit comments

Comments
 (0)