mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
radioplay: forgot data input in re.search
This commit is contained in:
parent
6edeb93400
commit
71c29c1a02
@ -20,7 +20,7 @@ class Radioplay(Service):
|
||||
if error:
|
||||
log.error("Can't get the page")
|
||||
return
|
||||
match = re.search(r"RP.vcdData = ({.*});</script>", )
|
||||
match = re.search(r"RP.vcdData = ({.*});</script>", data)
|
||||
if match:
|
||||
data = json.loads(match.group(1))
|
||||
for i in list(data["station"]["streams"].keys()):
|
||||
|
Loading…
Reference in New Issue
Block a user