This commit is contained in:
parent
d34388b3ba
commit
8d71b9d0c2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue