aboutsummaryrefslogtreecommitdiffstats
path: root/ytdlp_plugins/extractor/sample.py
blob: 321f3fed1992fdfc78b8399c9b80f9b72b640dd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from __future__ import unicode_literals

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


# See https://github.com/ytdl-org/youtube-dl#adding-support-for-a-new-site
# for instuctions on making extractors

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)