[/__init__] Define public API

This commit is contained in:
Philipp Hagemeister 2015-01-07 07:41:05 +01:00
parent ccc5842bc9
commit 2bad0e5d20
2 changed files with 4 additions and 2 deletions

View file

@ -38,7 +38,7 @@ from .update import update_self
from .downloader import (
FileDownloader,
)
from .extractor import list_extractors
from .extractor import gen_extractors, list_extractors
from .YoutubeDL import YoutubeDL
@ -363,3 +363,5 @@ def main(argv=None):
sys.exit('ERROR: fixed output name but more than one file to download')
except KeyboardInterrupt:
sys.exit('\nERROR: Interrupted by user')
__all__ = ['main', 'YoutubeDL', 'gen_extractors', 'list_extractors']