diff options
Diffstat (limited to 'ytdlp_plugins')
-rw-r--r-- | ytdlp_plugins/extractor/__init__.py | 2 | ||||
-rw-r--r-- | ytdlp_plugins/extractor/sample.py | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/ytdlp_plugins/extractor/__init__.py b/ytdlp_plugins/extractor/__init__.py new file mode 100644 index 000000000..e1a83b909 --- /dev/null +++ b/ytdlp_plugins/extractor/__init__.py @@ -0,0 +1,2 @@ +# flake8: noqa +from .sample import SamplePluginIE diff --git a/ytdlp_plugins/extractor/sample.py b/ytdlp_plugins/extractor/sample.py new file mode 100644 index 000000000..41954b6be --- /dev/null +++ b/ytdlp_plugins/extractor/sample.py @@ -0,0 +1,12 @@ +from __future__ import unicode_literals + +from youtube_dlc.extractor.common import InfoExtractor + + +class SamplePluginIE(InfoExtractor): + _WORKING = False + IE_DESC = False + _VALID_URL = r'^sampleplugin:' + + def _real_extract(self, url): + self.to_screen('URL "%s" sucessfully captured' % url) |