mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 12:15:40 +01:00
Viaplay: Fix regexp for JSON episode data extraction
This commit is contained in:
parent
c26bb3ccc5
commit
8917d5bd8e
@ -82,7 +82,7 @@ class Viaplay(Service, OpenGraphThumbMixin):
|
|||||||
if clips:
|
if clips:
|
||||||
return episodenr
|
return episodenr
|
||||||
else:
|
else:
|
||||||
match = re.search('"ContentPageProgramStore":({.*}),"ApplicationStore', self.get_urldata())
|
match = re.search('"ContentPageProgramStore":({.*}),"StartPageStore', self.get_urldata())
|
||||||
if match:
|
if match:
|
||||||
janson = json.loads(match.group(1))
|
janson = json.loads(match.group(1))
|
||||||
for i in janson["format"]["videos"].keys():
|
for i in janson["format"]["videos"].keys():
|
||||||
|
Loading…
Reference in New Issue
Block a user