diff options
author | Christopher Rosell <chrippa@tanuki.se> | 2012-03-14 16:30:45 +0100 |
---|---|---|
committer | Christopher Rosell <chrippa@tanuki.se> | 2012-03-14 16:30:45 +0100 |
commit | 92bde78ea49d199d7189ad16622cc9a830d1feff (patch) | |
tree | 1a0a3288c5d0b234d9bf23e258aedda33432877f /src | |
parent | c58440436e37101f9b3e6f246f2df5d584299115 (diff) |
Another ownedtv regex fix.
Diffstat (limited to 'src')
-rw-r--r-- | src/livestreamer/plugins/ownedtv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/livestreamer/plugins/ownedtv.py b/src/livestreamer/plugins/ownedtv.py index 747e6e2..4ddeb2f 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"document.location.hash='/live/(\d+)'", data) + match = re.search(b"xajax_load_live_config\((\d+),", data) if match: return int(match.group(1)) |