aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/livestreamer/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/livestreamer/utils.py')
-rw-r--r--src/livestreamer/utils.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/livestreamer/utils.py b/src/livestreamer/utils.py
index dcf1be3..75e7213 100644
--- a/src/livestreamer/utils.py
+++ b/src/livestreamer/utils.py
@@ -1,7 +1,6 @@
-#!/usr/bin/env python3
+from .compat import urllib
+from .plugins import PluginError
-from livestreamer.compat import urllib
-from livestreamer.plugins import PluginError
import hmac, hashlib, zlib, argparse
SWF_KEY = b"Genuine Adobe Flash Player 001"
@@ -63,3 +62,5 @@ def verifyjson(json, key):
raise PluginError(("Missing '{0}' key in JSON").format(key))
return json[key]
+
+__all__ = ["ArgumentParser", "urlopen", "urlget", "swfverify", "verifyjson"]