]>
jfr.im git - yt-dlp.git/blob - ytdlp_plugins/extractor/sample.py
3 # â Don't use relative imports
4 from yt_dlp
.extractor
.common
import InfoExtractor
7 # âšī¸ Instructions on making extractors can be found at:
8 # đ https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#adding-support-for-a-new-site
10 class SamplePluginIE(InfoExtractor
):
13 _VALID_URL
= r
'^sampleplugin:'
15 def _real_extract(self
, url
):
16 self
.to_screen('URL "%s" sucessfully captured' % url
)