I fucking hate Windows so goddamn much
This commit is contained in:
@@ -31,7 +31,7 @@ def install_ytdlp():
|
||||
print("[OK] yt-dlp installed successfully!")
|
||||
return True
|
||||
except subprocess.CalledProcessError:
|
||||
print("[UH OH] Failed to install yt-dlp automatically.")
|
||||
print("[ERROR] 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")
|
||||
@@ -130,12 +130,12 @@ def download_channel(channel_url, output_dir, quality='best', audio_only=False,
|
||||
print("[OK] Download completed successfully!")
|
||||
|
||||
except subprocess.CalledProcessError as e:
|
||||
print(f"✗ Download failed with error code: {e.returncode}")
|
||||
print(f"[ERROR] Download failed with error code: {e.returncode}")
|
||||
print("Some videos may have been downloaded successfully.")
|
||||
return False
|
||||
|
||||
except KeyboardInterrupt:
|
||||
print("\n[UH OH] Download interrupted by user.")
|
||||
print("\n[WARNING] Download interrupted by user.")
|
||||
print("You can resume later - already downloaded videos won't be re-downloaded.")
|
||||
return False
|
||||
|
||||
@@ -193,7 +193,7 @@ Examples:
|
||||
output_dir = create_download_directory(args.channel_url, args.output)
|
||||
print(f"Download directory: {output_dir}")
|
||||
except Exception as e:
|
||||
print(f"✗ Error creating download directory: {e}")
|
||||
print(f"[ERROR] Error creating download directory: {e}")
|
||||
sys.exit(1)
|
||||
|
||||
# Start download
|
||||
|
Reference in New Issue
Block a user