summaryrefslogtreecommitdiffstats
path: root/scripts/hook-gallery_dl.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/hook-gallery_dl.py')
-rw-r--r--scripts/hook-gallery_dl.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/hook-gallery_dl.py b/scripts/hook-gallery_dl.py
new file mode 100644
index 0000000..d549019
--- /dev/null
+++ b/scripts/hook-gallery_dl.py
@@ -0,0 +1,9 @@
+# -*- 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
+]