aboutsummaryrefslogtreecommitdiffstats
path: root/ytdlp_plugins/extractor/sample.py
blob: d99b7ca331d66663289650b1f8269ad1dc969c09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# coding: utf-8

# ⚠ Don't use relative imports
from yt_dlp.extractor.common import InfoExtractor


# ℹ️ Instructions on making extractors can be found at:
# 🔗 https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#adding-support-for-a-new-site

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)