From af57cee939f2ecef0b7008ff0e1f542d8aec50be Mon Sep 17 00:00:00 2001 From: Kevin Thompson Date: Sun, 10 Aug 2025 12:40:23 -0500 Subject: [PATCH] Windows is stupid af --- youtube_archiver.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/youtube_archiver.py b/youtube_archiver.py index f42cc41..1ac823a 100644 --- a/youtube_archiver.py +++ b/youtube_archiver.py @@ -17,7 +17,7 @@ def check_dependencies(): try: result = subprocess.run(['yt-dlp', '--version'], capture_output=True, text=True, check=True) - print(f"✓ yt-dlp is installed: {result.stdout.strip()}") + print(f"[OK] yt-dlp is installed: {result.stdout.strip()}") return True except (subprocess.CalledProcessError, FileNotFoundError): return False @@ -28,10 +28,10 @@ def install_ytdlp(): try: subprocess.run([sys.executable, '-m', 'pip', 'install', 'yt-dlp'], check=True) - print("✓ yt-dlp installed successfully!") + print("[OK] yt-dlp installed successfully!") return True except subprocess.CalledProcessError: - print("✗ Failed to install yt-dlp automatically.") + print("[UH OH] Failed to install yt-dlp automatically.") print("Please install yt-dlp manually:") print(" pip install yt-dlp") print(" or visit: https://github.com/yt-dlp/yt-dlp") @@ -127,7 +127,7 @@ def download_channel(channel_url, output_dir, quality='best', audio_only=False, # Run the download command subprocess.run(cmd, check=True, cwd=output_dir) print("-" * 50) - print("✓ Download completed successfully!") + print("[OK] Download completed successfully!") except subprocess.CalledProcessError as e: print(f"✗ Download failed with error code: {e.returncode}") @@ -135,7 +135,7 @@ def download_channel(channel_url, output_dir, quality='best', audio_only=False, return False except KeyboardInterrupt: - print("\n⚠ Download interrupted by user.") + print("\n[UH OH] Download interrupted by user.") print("You can resume later - already downloaded videos won't be re-downloaded.") return False @@ -207,7 +207,7 @@ Examples: ) if success: - print(f"\n✓ All videos downloaded to: {output_dir}") + print(f"\n[OK] All videos downloaded to: {output_dir}") print(f"Archive file created at: {output_dir / 'download_archive.txt'}") else: sys.exit(1)