2021-05-18 14:20:59 -04:00
|
|
|
|
# coding: utf-8
|
|
|
|
|
|
|
|
|
|
# ⚠ Don't use relative imports
|
2021-02-24 13:45:56 -05:00
|
|
|
|
from yt_dlp.extractor.common import InfoExtractor
|
2021-01-24 08:40:02 -05:00
|
|
|
|
|
|
|
|
|
|
2021-05-18 14:20:59 -04:00
|
|
|
|
# ℹ️ Instructions on making extractors can be found at:
|
|
|
|
|
# 🔗 https://github.com/ytdl-org/youtube-dl#adding-support-for-a-new-site
|
2021-02-19 16:33:17 -05:00
|
|
|
|
|
2021-01-24 08:40:02 -05:00
|
|
|
|
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)
|