From 33b5c8ce394045a04c13c363a371638b6f00a411 Mon Sep 17 00:00:00 2001 From: termac Date: Wed, 29 Feb 2012 21:12:48 +0100 Subject: alter regular expression in ownedtv plugin to again find the channel id --- src/livestreamer/plugins/ownedtv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/livestreamer/plugins/ownedtv.py b/src/livestreamer/plugins/ownedtv.py index 0b89745..747e6e2 100644 --- a/src/livestreamer/plugins/ownedtv.py +++ b/src/livestreamer/plugins/ownedtv.py @@ -37,7 +37,7 @@ class OwnedTV(Plugin): data = fd.read() fd.close() - match = re.search(b"own3d.tv\/livestreamfb\/(\d+)", data) + match = re.search(b"document.location.hash='/live/(\d+)'", data) if match: return int(match.group(1)) -- cgit v1.2.3