1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-30 15:14:14 +01:00

tv4play: update the regex to catch the json stuff we need

This commit is contained in:
Johan Andersson 2021-10-18 16:22:48 +02:00
parent 7a01f041b3
commit 163df0ea14

View File

@ -92,7 +92,7 @@ class Tv4play(Service, OpenGraphThumbMixin):
) )
def _getjson(self): def _getjson(self):
match = re.search(r"application\/json\">(.*\})<\/script><script", self.get_urldata()) match = re.search(r"application\/json\">(.*\})<\/script>", self.get_urldata())
return match return match
def find_all_episodes(self, config): def find_all_episodes(self, config):