aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Christopher Rosell <chrippa@tanuki.se>2012-02-29 16:20:42 -0800
committerGravatar Christopher Rosell <chrippa@tanuki.se>2012-02-29 16:20:42 -0800
commitc58440436e37101f9b3e6f246f2df5d584299115 (patch)
treeb2afcb9f89e28a8c86a72da7897d4c907a0fd7eb
parent32cdb8581071f3abc54c72db5801ea19eaeb8498 (diff)
parent33b5c8ce394045a04c13c363a371638b6f00a411 (diff)
Merge pull request #3 from termac/master
fix for ownedtv plugin
-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))