aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar termac <terror.macbeth.I@gmail.com>2012-02-29 21:12:48 +0100
committerGravatar termac <terror.macbeth.I@gmail.com>2012-02-29 21:12:48 +0100
commit33b5c8ce394045a04c13c363a371638b6f00a411 (patch)
treeb2afcb9f89e28a8c86a72da7897d4c907a0fd7eb /src
parent32cdb8581071f3abc54c72db5801ea19eaeb8498 (diff)
alter regular expression in ownedtv plugin to again find the channel id
Diffstat (limited to 'src')
-rw-r--r--src/livestreamer/plugins/ownedtv.py2
1 files changed, 1 insertions, 1 deletions
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))