mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-07-19 00:20:00 +00:00
Update downloader.py
This commit is contained in:
parent
fd6f2151bc
commit
15b168503a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user