mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 19:33:59 +01:00
7a5c1cfe93
* All modules and binary names are changed * All documentation references changed * yt-dlp no longer loads youtube-dlc config files * All URLs changed to point to organization account Co-authored-by: Pccode66 Co-authored-by: pukkandan
17 lines
447 B
Python
17 lines
447 B
Python
from __future__ import unicode_literals
|
|
|
|
# Don't use relative imports
|
|
from yt_dlp.extractor.common import InfoExtractor
|
|
|
|
|
|
# See https://github.com/ytdl-org/youtube-dl#adding-support-for-a-new-site
|
|
# for instuctions on making extractors
|
|
|
|
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)
|