- Enhanced Error Handling: Added error handling in fetch_proxies and save_proxies_to_file. - Improved Progress Function: download_with_progress was refined for clarity and fixed the progress speed display. - Concatenation Fix in execute_yt_dlp_command: Corrected the command string concatenation. - Cleanup: Removed tempout after checking its contents in execute_yt_dlp_command. - Retry Delay in run_yt_dlp: Added a small delay to avoid rapid retries on proxy errors.
4 lines
154 B
Bash
Executable file
4 lines
154 B
Bash
Executable file
#!/bin/bash
|
|
# Get the directory where the script is located
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
python3 "$SCRIPT_DIR/main.py" "$@"
|