Обновить test.py
This commit is contained in:
parent
f19c5d0864
commit
b4131c5980
2
test.py
2
test.py
@ -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 you’re 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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user