aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index e82d3a2..7144428 100644
--- a/README.md
+++ b/README.md
@@ -60,9 +60,10 @@ Using livestreamer as a library
-------------------------------
Livestreamer is also a library. Short example:
- import livestreamer
+ from livestreamer import *
url = "http://twitch.tv/day9tv"
+ livestreamer = Livestreamer()
channel = livestreamer.resolve_url(url)
streams = channel.get_streams()