From 3ffb89c094dabf18b5e71fc142b5c6f7fbe0d024 Mon Sep 17 00:00:00 2001 From: Christopher Rosell Date: Tue, 2 Oct 2012 12:41:56 +0200 Subject: plugins.ustream: Update for new layout. --- src/livestreamer/plugins/ustreamtv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3