2021-05-18 20:20:59 +02:00
|
|
|
|
# coding: utf-8
|
|
|
|
|
|
|
|
|
|
# ⚠ Don't use relative imports
|
2021-02-24 19:45:56 +01:00
|
|
|
|
from yt_dlp.extractor.common import InfoExtractor
|
2021-01-24 14:40:02 +01:00
|
|
|
|
|
|
|
|
|
|
2021-05-18 20:20:59 +02:00
|
|
|
|
# ℹ️ Instructions on making extractors can be found at:
|
2021-10-09 02:23:15 +02:00
|
|
|
|
# 🔗 https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#adding-support-for-a-new-site
|
2021-02-19 22:33:17 +01:00
|
|
|
|
|
2021-01-24 14:40:02 +01: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)
|