mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 21:26:55 +01:00
f74980cbae
Extractor plugins are loaded from <root-dir>/ytdlp_plugins/extractor/__init__.py Inspired by https://github.com/un-def/dl-plus :ci skip dl
13 lines
308 B
Python
13 lines
308 B
Python
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)
|