2021-01-24 06:40:02 -07:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2021-02-19 14:33:17 -07:00
|
|
|
# Don't use relative imports
|
2021-01-24 06:40:02 -07:00
|
|
|
from youtube_dlc.extractor.common import InfoExtractor
|
|
|
|
|
|
|
|
|
2021-02-19 14:33:17 -07:00
|
|
|
# See https://github.com/ytdl-org/youtube-dl#adding-support-for-a-new-site
|
|
|
|
# for instuctions on making extractors
|
|
|
|
|
2021-01-24 06:40:02 -07: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)
|