diff options
author | Alex Shnitman <alexta69@gmail.com> | 2021-09-25 15:26:29 +0300 |
---|---|---|
committer | Alex Shnitman <alexta69@gmail.com> | 2021-09-25 15:26:29 +0300 |
commit | 6996e61f06b5a78eaf6786eec8c3896ecaa78623 (patch) | |
tree | 2a86f8c7d4f058fa9aeeb1339eee6c1438f3ada4 /app | |
parent | Merge pull request #57 from auanasgheps/patch-1 (diff) | |
download | metube-6996e61f06b5a78eaf6786eec8c3896ecaa78623.tar.gz metube-6996e61f06b5a78eaf6786eec8c3896ecaa78623.tar.bz2 metube-6996e61f06b5a78eaf6786eec8c3896ecaa78623.zip |
use YTDL_OPTIONS while reading video info (closes #58)
Diffstat (limited to 'app')
-rw-r--r-- | app/ytdl.py | 1 |
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):
|