diff options
| author | 2021-12-30 01:56:41 -0500 | |
|---|---|---|
| committer | 2021-12-30 01:56:41 -0500 | |
| commit | 7bc30b43b70556630b4a93c03fefc0d888e3d19f (patch) | |
| tree | fb0e96762ab8137d23f248ef303538d8d6ff4368 /gallery_dl/downloader | |
| parent | a5aecc343fd2886e7ae09bb3e2afeec38f175755 (diff) | |
New upstream version 1.20.0.upstream/1.20.0
Diffstat (limited to 'gallery_dl/downloader')
| -rw-r--r-- | gallery_dl/downloader/ytdl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/downloader/ytdl.py b/gallery_dl/downloader/ytdl.py index 8416ca0..30f628e 100644 --- a/gallery_dl/downloader/ytdl.py +++ b/gallery_dl/downloader/ytdl.py @@ -39,7 +39,7 @@ class YoutubeDLDownloader(DownloaderBase): if not ytdl_instance: ytdl_instance = self.ytdl_instance if not ytdl_instance: - module = __import__(self.config("module") or "youtube_dl") + module = ytdl.import_module(self.config("module")) self.ytdl_instance = ytdl_instance = ytdl.construct_YoutubeDL( module, self, self.ytdl_opts) if self.outtmpl == "default": |
