Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,8 @@ def yt_download(url,path,name,width,height,views):
|
|
57 |
'live_stop_duration': 180,
|
58 |
'quiet': True,
|
59 |
'format': 'best',
|
60 |
-
'nocheckcertificate': True,
|
|
|
61 |
}
|
62 |
with YoutubeDL(ydl_opts) as ydl:
|
63 |
download_thread = threading.Thread(target=ydl.download, args=([url],))
|
|
|
57 |
'live_stop_duration': 180,
|
58 |
'quiet': True,
|
59 |
'format': 'best',
|
60 |
+
'nocheckcertificate': True,
|
61 |
+
'proxy': 'socks5://166.62.121.127:45248',
|
62 |
}
|
63 |
with YoutubeDL(ydl_opts) as ydl:
|
64 |
download_thread = threading.Thread(target=ydl.download, args=([url],))
|