aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README.md20
-rw-r--r--src/livestreamer/__init__.py3
2 files changed, 3 insertions, 20 deletions
diff --git a/README.md b/README.md
index e63ad63..f669f97 100644
--- a/README.md
+++ b/README.md
@@ -58,24 +58,6 @@ A example file:
Using livestreamer as a library
-------------------------------
-Livestreamer is also a library. Short example:
- from livestreamer import *
-
- url = "http://twitch.tv/day9tv"
- livestreamer = Livestreamer()
- channel = livestreamer.resolve_url(url)
- streams = channel.get_streams()
-
- stream = streams["720p"]
- fd = stream.open()
-
- while True:
- data = fd.read(1024)
- if len(data) == 0:
- break
-
- # do something with data
-
- fd.close()
+http://livestreamer.readthedocs.org/
diff --git a/src/livestreamer/__init__.py b/src/livestreamer/__init__.py
index 0f50dea..2b28a3e 100644
--- a/src/livestreamer/__init__.py
+++ b/src/livestreamer/__init__.py
@@ -10,7 +10,8 @@ import imp
class Livestreamer(object):
"""
- A Livestreamer session is used to keep track of plugins, options, log settings.
+ A Livestreamer session is used to keep track of plugins,
+ options and log settings.
"""