Обновить test.py

This commit is contained in:
evgeniy_t 2025-02-03 14:07:21 +05:00
parent f19c5d0864
commit b4131c5980

View File

@ -62,7 +62,7 @@ def download_video(url):
print(f"ERROR VIDEO {url}: {error_message}")
if "This video has been removed" in error_message or "Video unavailable" in error_message:
save_downloaded_url(failed_downloads_file, url)
if "Sign in to confirm youre not a bot" in error_message:
if "Sign in to confirm youre not a bot" in error_message:
print("Critical error detected: Sign-in required. Stopping execution.")
exit(1)