aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shnitman <alexta69@gmail.com>2021-09-25 15:26:29 +0300
committerAlex Shnitman <alexta69@gmail.com>2021-09-25 15:26:29 +0300
commit6996e61f06b5a78eaf6786eec8c3896ecaa78623 (patch)
tree2a86f8c7d4f058fa9aeeb1339eee6c1438f3ada4
parentMerge pull request #57 from auanasgheps/patch-1 (diff)
downloadmetube-6996e61f06b5a78eaf6786eec8c3896ecaa78623.tar.gz
metube-6996e61f06b5a78eaf6786eec8c3896ecaa78623.tar.bz2
metube-6996e61f06b5a78eaf6786eec8c3896ecaa78623.zip
use YTDL_OPTIONS while reading video info (closes #58)
-rw-r--r--app/ytdl.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/ytdl.py b/app/ytdl.py
index 764b770..f9084e3 100644
--- a/app/ytdl.py
+++ b/app/ytdl.py
@@ -149,6 +149,7 @@ class DownloadQueue:
'quiet': True,
'no_color': True,
'extract_flat': True,
+ **self.config.YTDL_OPTIONS,
}).extract_info(url, download=False)
async def __add_entry(self, entry, quality, format, already):
bgstack15