aboutsummaryrefslogtreecommitdiff
path: root/test/testdata/yt_dlp_plugins/extractor/override.py
diff options
context:
space:
mode:
authorcoletdjnz <coletdjnz@protonmail.com>2025-02-23 11:00:46 +1300
committerGitHub <noreply@github.com>2025-02-23 11:00:46 +1300
commit4445f37a7a66b248dbd8376c43137e6e441f138e (patch)
treeb37561f1213bc25420f1f1004e8b6c8560e8b92f /test/testdata/yt_dlp_plugins/extractor/override.py
parent3a1583ca75fb523cbad0e5e174387ea7b477d175 (diff)
[core] Load plugins on demand (#11305)
- Adds `--no-plugin-dirs` to disable plugin loading - `--plugin-dirs` now supports post-processors Authored by: coletdjnz, Grub4K, pukkandan
Diffstat (limited to 'test/testdata/yt_dlp_plugins/extractor/override.py')
-rw-r--r--test/testdata/yt_dlp_plugins/extractor/override.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/testdata/yt_dlp_plugins/extractor/override.py b/test/testdata/yt_dlp_plugins/extractor/override.py
new file mode 100644
index 000000000..766dc32e1
--- /dev/null
+++ b/test/testdata/yt_dlp_plugins/extractor/override.py
@@ -0,0 +1,5 @@
+from yt_dlp.extractor.generic import GenericIE
+
+
+class OverrideGenericIE(GenericIE, plugin_name='override'):
+ TEST_FIELD = 'override'