From 85d4005c16764ee9ec8129a8decc362f72787506 Mon Sep 17 00:00:00 2001 From: lzzy12 Date: Tue, 31 Mar 2020 10:50:53 +0530 Subject: [PATCH] Use netrc by default for youtube-dl Signed-off-by: lzzy12 --- .../mirror_utils/download_utils/youtube_dl_download_helper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/helper/mirror_utils/download_utils/youtube_dl_download_helper.py b/bot/helper/mirror_utils/download_utils/youtube_dl_download_helper.py index 07d99fb..8d25aca 100644 --- a/bot/helper/mirror_utils/download_utils/youtube_dl_download_helper.py +++ b/bot/helper/mirror_utils/download_utils/youtube_dl_download_helper.py @@ -15,6 +15,7 @@ class YoutubeDLHelper(DownloadHelper): self.__gid = "" self.opts = { 'progress_hooks': [self.__onDownloadProgress], + 'usenetrc': True } self.__download_speed = 0 self.download_speed_readable = ''