0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-16 01:25:06 +00:00
yt-dlp/ytdlp_plugins/extractor/sample.py
2021-02-20 03:14:01 +05:30

16 lines
452 B
Python

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)