Обновить test.py

This commit is contained in:
evgeniy_t 2025-02-03 14:19:17 +05:00
parent 43de09ad97
commit 12372a18c0

View File

@ -67,7 +67,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)