Try workaround
All checks were successful
Deploy Service / deploy (push) Successful in 31s

This commit is contained in:
Mootfrost 2025-04-13 21:11:33 +03:00
parent d34388b3ba
commit 8d71b9d0c2

View file

@ -26,7 +26,7 @@ def _download(yt_id: str, directory: str):
'quiet': True,
'outtmpl': os.path.join(directory, 'dl.%(ext)s'),
}
if config.proxy:
if config.socks_proxy:
params['proxy'] = config.socks_proxy
with YoutubeDL(params) as ydl:
return ydl.extract_info(yt_id)