aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Christopher Rosell <chrippa@tanuki.se>2012-10-02 12:41:56 +0200
committerGravatar Christopher Rosell <chrippa@tanuki.se>2012-10-02 12:41:56 +0200
commit3ffb89c094dabf18b5e71fc142b5c6f7fbe0d024 (patch)
tree68e8fad95d92bafed77c8d294a6bed60ce5d20ee
parentc489d16668d49a535e3c38390c458a0b6015b7ba (diff)
plugins.ustream: Update for new layout.
-rw-r--r--src/livestreamer/plugins/ustreamtv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/livestreamer/plugins/ustreamtv.py b/src/livestreamer/plugins/ustreamtv.py
index e339fe0..35e17f4 100644
--- a/src/livestreamer/plugins/ustreamtv.py
+++ b/src/livestreamer/plugins/ustreamtv.py
@@ -16,7 +16,7 @@ class UStreamTV(Plugin):
def _get_channel_id(self, url):
res = urlget(url)
- match = re.search("channelId=(\d+)", res.text)
+ match = re.search("\"cid\":(\d+)", res.text)
if match:
return int(match.group(1))