1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

viaplay: use data-video-id instead of data-emediate-video_id.

based on a fix by @magic75 and this fixes #108
This commit is contained in:
Johan Andersson 2014-06-22 22:46:00 +02:00
parent b4638d0bb7
commit abaf1e19a9

View File

@ -38,7 +38,7 @@ class Viaplay(Service, OpenGraphThumbMixin):
unable to extract the ID at all. unable to extract the ID at all.
""" """
html_data = self.get_urldata() 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: if match:
return match.group(1) return match.group(1)