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