yt-dlp/ytdlp_plugins/extractor/sample.py

17 lines
447 B
Python
Raw Normal View History

from __future__ import unicode_literals
2021-02-19 21:33:17 +00:00
# Don't use relative imports
from yt_dlp.extractor.common import InfoExtractor
2021-02-19 21:33:17 +00:00
# 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)