mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
1a38fae785
by setting the 'downloader.ytdl.module' value. For example { "downloader": { "ytdl": { "module": "yt_dlp" } } } or '-o module=yt_dlp'
12 lines
270 B
Python
12 lines
270 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from gallery_dl import extractor, downloader, postprocessor
|
|
|
|
hiddenimports = [
|
|
package.__name__ + "." + module
|
|
for package in (extractor, downloader, postprocessor)
|
|
for module in package.modules
|
|
]
|
|
|
|
hiddenimports.append("youtube_dl")
|