sample.py 455 B

1234567891011121314
  1. # ⚠ Don't use relative imports
  2. from yt_dlp.extractor.common import InfoExtractor
  3. # ℹ️ Instructions on making extractors can be found at:
  4. # 🔗 https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#adding-support-for-a-new-site
  5. class SamplePluginIE(InfoExtractor):
  6. _WORKING = False
  7. IE_DESC = False
  8. _VALID_URL = r'^sampleplugin:'
  9. def _real_extract(self, url):
  10. self.to_screen('URL "%s" successfully captured' % url)