mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +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:
|
||||
return episodenr
|
||||
else:
|
||||
match = re.search('"ContentPageProgramStore":({.*}),"ApplicationStore', self.get_urldata())
|
||||
match = re.search('"ContentPageProgramStore":({.*}),"StartPageStore', self.get_urldata())
|
||||
if match:
|
||||
janson = json.loads(match.group(1))
|
||||
for i in janson["format"]["videos"].keys():
|
||||
|
Loading…
Reference in New Issue
Block a user