]> jfr.im git - yt-dlp.git/blame - ytdlp_plugins/extractor/sample.py
Release 2021.02.19
[yt-dlp.git] / ytdlp_plugins / extractor / sample.py
CommitLineData
f74980cb 1from __future__ import unicode_literals
2
4524baf0 3# Don't use relative imports
f74980cb 4from youtube_dlc.extractor.common import InfoExtractor
5
6
4524baf0 7# See https://github.com/ytdl-org/youtube-dl#adding-support-for-a-new-site
8# for instuctions on making extractors
9
f74980cb 10class SamplePluginIE(InfoExtractor):
11 _WORKING = False
12 IE_DESC = False
13 _VALID_URL = r'^sampleplugin:'
14
15 def _real_extract(self, url):
16 self.to_screen('URL "%s" sucessfully captured' % url)