diff options
author | Christopher Rosell <chrippa@tanuki.se> | 2012-08-24 02:38:16 +0200 |
---|---|---|
committer | Christopher Rosell <chrippa@tanuki.se> | 2012-08-24 02:38:16 +0200 |
commit | 8545ee9aec203c0fcbeb64810022a3018e1590d4 (patch) | |
tree | 1def028b5c6decc7007468b0d5cc81859b8626ec /README.md | |
parent | 93af278d6170cb38eeb189fe8deb957b98d20876 (diff) |
Update README with URL to docs.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -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/ |