]> jfr.im git - yt-dlp.git/blob - ytdlp_plugins/extractor/sample.py
[reddit] Fix 429 by generating a random `reddit_session`
[yt-dlp.git] / ytdlp_plugins / extractor / sample.py
1 # coding: utf-8
2
3 from __future__ import unicode_literals
4
5 # ⚠ Don't use relative imports
6 from yt_dlp.extractor.common import InfoExtractor
7
8
9 # ℹī¸ Instructions on making extractors can be found at:
10 # 🔗 https://github.com/ytdl-org/youtube-dl#adding-support-for-a-new-site
11
12 class SamplePluginIE(InfoExtractor):
13 _WORKING = False
14 IE_DESC = False
15 _VALID_URL = r'^sampleplugin:'
16
17 def _real_extract(self, url):
18 self.to_screen('URL "%s" sucessfully captured' % url)