mirror of
https://github.com/LucBerge/yt-dlp.git
synced 2025-03-17 19:57:52 +03:00
14 lines
455 B
Python
14 lines
455 B
Python
# ⚠ 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" successfully captured' % url)
|