From abaf1e19a991bf680f884b6551f7978092cf4e8d Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 22 Jun 2014 22:46:00 +0200 Subject: [PATCH] viaplay: use data-video-id instead of data-emediate-video_id. based on a fix by @magic75 and this fixes #108 --- lib/svtplay_dl/service/viaplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/service/viaplay.py b/lib/svtplay_dl/service/viaplay.py index 6002d15..b419f5d 100644 --- a/lib/svtplay_dl/service/viaplay.py +++ b/lib/svtplay_dl/service/viaplay.py @@ -38,7 +38,7 @@ class Viaplay(Service, OpenGraphThumbMixin): unable to extract the ID at all. """ html_data = self.get_urldata() - match = re.search(r'data-emediate-video_id="([0-9]+)"', html_data) + match = re.search(r'data-video-id="([0-9]+)"', html_data) if match: return match.group(1)