Update downloader.py

This commit is contained in:
ciccioxm3 2025-06-26 11:27:19 +02:00 committed by GitHub
parent fd6f2151bc
commit 15b168503a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,7 +88,7 @@ def MP4_downloader(url: str, path: str, referer: str = None, headers_: dict = No
return None, False
if GET_ONLY_LINK:
console.print(f"URL: {url}[/bold red]")
console.print(f"[bold red]URL: {url}[/bold red]")
return path, True
if not (url.lower().startswith('http://') or url.lower().startswith('https://')):
@ -188,4 +188,4 @@ def MP4_downloader(url: str, path: str, referer: str = None, headers_: dict = No
return None, interrupt_handler.kill_download
finally:
signal.signal(signal.SIGINT, original_handler)
signal.signal(signal.SIGINT, original_handler)