aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-01-07 07:41:05 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-01-07 07:41:05 +0100
commit2bad0e5d202aa041ab9ddb9e7dcffe69848a5349 (patch)
treede4cf1b5688a0c5d944416bcd6e1d374a1ab5ac5 /youtube_dl/__init__.py
parentccc5842bc9d96abaf6e54b91101f7e281b05663c (diff)
[/__init__] Define public API
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r--youtube_dl/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 4c21188a9..4aa7fba6a 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -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']